Changed static const to enum.

This commit is contained in:
John Wellbelove 2017-12-21 13:53:32 +00:00
parent 696247c0f5
commit 483f322f89
2 changed files with 12 additions and 6 deletions

View File

@ -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.

View File

@ -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.