mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Tidy formatting
This commit is contained in:
parent
f769f179c8
commit
68893d4fe9
@ -31,12 +31,12 @@
|
|||||||
auto const& me = mo.enumerator (mo.indexOfEnumerator (#ENUM)); \
|
auto const& me = mo.enumerator (mo.indexOfEnumerator (#ENUM)); \
|
||||||
if (buffer) \
|
if (buffer) \
|
||||||
{ \
|
{ \
|
||||||
v = static_cast<CLASS::ENUM> (me.keyToValue (buffer, &ok)); \
|
v = static_cast<CLASS::ENUM> (me.keyToValue (buffer, &ok)); \
|
||||||
delete [] buffer; \
|
delete [] buffer; \
|
||||||
} \
|
} \
|
||||||
if (!ok) \
|
if (!ok) \
|
||||||
{ \
|
{ \
|
||||||
v = static_cast<CLASS::ENUM> (me.value (0)); \
|
v = static_cast<CLASS::ENUM> (me.value (0)); \
|
||||||
} \
|
} \
|
||||||
return is; \
|
return is; \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user