\#10 Address compiler warnings

This commit is contained in:
2023-10-30 10:54:35 -05:00
parent b137b57dbc
commit 8cf19e0594
5 changed files with 22 additions and 31 deletions

View File

@@ -68,9 +68,10 @@ using event_consumer = event_system::event_consumer;
#define E_PROP(type, name, short_name, ts) \
private: \
void init_##short_name(const type &val_##name) { \
ss_ << "|" << #short_name << "|" << ts(val_##name); \
j_[#name] = ts(val_##name); \
void init_##short_name(const type &val) { \
auto ts_val = ts(val); \
ss_ << "|" << #short_name << "|" << ts_val; \
j_[#name] = ts_val; \
} \
\
public: \