3232namespace qConfig
3333{
3434#define QCONFIG_SETTING (name, type ) \
35- struct qon_mxcat3 (q, name, _t) { \
35+ struct qon_mxcat3 (q, name, _t) \
36+ { \
3637 type v; \
3738 constexpr qon_mxcat3 (q, name, _t)(type s) : v (s) {} \
3839 }; \
3940 constexpr qon_mxcat3 (q, name, _t) name(type v) { return (qon_mxcat3 (q, name, _t)(v)); }
4041
4142#define QCONFIG_SETTING_TEMPLATE (name ) \
4243 template <typename T> \
43- struct qon_mxcat3 (q, name, _t) { \
44+ struct qon_mxcat3 (q, name, _t) \
45+ { \
4446 T v; \
4547 constexpr qon_mxcat3 (q, name, _t)(const T& s) : v (s) {} \
4648 }; \
@@ -66,7 +68,7 @@ static inline const char* getOptName(const char** argv, int32_t i)
6668
6769template <typename T>
6870struct qConfigSettings {
69- qConfigSettings () : checkMin(false ), checkMax(false ), doSet(false ), doDefault(false ), min(), max(), set(), message(nullptr ), allowEmpty(false ) {};
71+ qConfigSettings () : checkMin(false ), checkMax(false ), doSet(false ), doDefault(false ), min(), max(), set(), message(nullptr ), allowEmpty(false ){};
7072 template <typename S>
7173 qConfigSettings (const qConfigSettings<S> v) : checkMin(false ), checkMax(false ), doSet(false ), doDefault(false ), min(), max(), set(), message(v.message), allowEmpty(v.allowEmpty){};
7274 bool checkMin, checkMax;
0 commit comments