diff --git a/src/multimap.h b/src/multimap.h index 016a4513..1d2e7682 100644 --- a/src/multimap.h +++ b/src/multimap.h @@ -178,9 +178,12 @@ namespace etl protected: - static const uint_least8_t kLeft = 0; - static const uint_least8_t kRight = 1; - static const uint_least8_t kNeither = 2; + enum + { + kLeft, + kRight, + kNeither + }; //************************************************************************* /// The node element in the multimap. diff --git a/src/multiset.h b/src/multiset.h index e01e1d59..d2911291 100644 --- a/src/multiset.h +++ b/src/multiset.h @@ -178,9 +178,12 @@ namespace etl protected: - static const uint_least8_t kLeft = 0; - static const uint_least8_t kRight = 1; - static const uint_least8_t kNeither = 2; + enum + { + kLeft, + kRight, + kNeither + }; //************************************************************************* /// The node element in the multiset.