From 6638cf05ae6d6b5b66af1bfcea6349458df7646c Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Mon, 10 Aug 2020 15:21:16 -0400 Subject: [PATCH] Use C++11 constexpr instead of define --- include/icsneo/device/tree/radpluto/radplutosettings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/icsneo/device/tree/radpluto/radplutosettings.h b/include/icsneo/device/tree/radpluto/radplutosettings.h index babd2e2..3e408ba 100644 --- a/include/icsneo/device/tree/radpluto/radplutosettings.h +++ b/include/icsneo/device/tree/radpluto/radplutosettings.h @@ -10,7 +10,7 @@ namespace icsneo { #endif -#define PLUTO_MAX_MAC_CONFIG_ENTRIES 5 +constexpr size_t PLUTO_MAX_MAC_CONFIG_ENTRIES = 5; #pragma pack(push, 2) typedef struct {