src/settings.h

changeset 250
2837b549e616
parent 240
414d392b9ae6
child 259
c27612f0eac0
equal deleted inserted replaced
249:37d3c819cafa 250:2837b549e616
16 using type = decltype((DEFVALUE)); \ 16 using type = decltype((DEFVALUE)); \
17 static constexpr char name[] = #NAME; \ 17 static constexpr char name[] = #NAME; \
18 static const auto& defaultValue() { \ 18 static const auto& defaultValue() { \
19 static const auto value = DEFVALUE; \ 19 static const auto value = DEFVALUE; \
20 return value; \ 20 return value; \
21 }; \ 21 } \
22 }; 22 };
23 23
24 // ----------------------------------------------------------------------------- 24 // -----------------------------------------------------------------------------
25 // Setting definitions 25 // Setting definitions
26 26

mercurial