diff --git a/include/transport/config.h b/include/transport/config.h index de7888ac71e40f5b52a4e7fdd09e930f8d6f5add..a672abe62873c754b47c92b08d29b1652371f846 100644 --- a/include/transport/config.h +++ b/include/transport/config.h @@ -37,6 +37,7 @@ #define CONFIG_STRING_DEFAULTED(PTR, KEY, DEF) ((*PTR).hasKey(KEY) ? (*PTR)[KEY].as() : DEF) #define CONFIG_BOOL_DEFAULTED(PTR, KEY, DEF) ((*PTR).hasKey(KEY) ? (*PTR)[KEY].as() : DEF) +#define CONFIG_LIST_DEFAULTED(PTR, KEY, DEF) ((*PTR).hasKey(KEY) ? (*PTR)[KEY].as >() : DEF) namespace Transport {