Use C++11 constexpr instead of define
parent
d58202dfc0
commit
6638cf05ae
|
|
@ -10,7 +10,7 @@ namespace icsneo {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PLUTO_MAX_MAC_CONFIG_ENTRIES 5
|
constexpr size_t PLUTO_MAX_MAC_CONFIG_ENTRIES = 5;
|
||||||
|
|
||||||
#pragma pack(push, 2)
|
#pragma pack(push, 2)
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue