mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Changed static const to enum.
This commit is contained in:
parent
696247c0f5
commit
483f322f89
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user