Tidy formatting

This commit is contained in:
Bill Somerville 2020-02-01 23:56:35 +00:00
parent f769f179c8
commit 68893d4fe9
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -31,12 +31,12 @@
auto const& me = mo.enumerator (mo.indexOfEnumerator (#ENUM)); \
if (buffer) \
{ \
v = static_cast<CLASS::ENUM> (me.keyToValue (buffer, &ok)); \
delete [] buffer; \
v = static_cast<CLASS::ENUM> (me.keyToValue (buffer, &ok)); \
delete [] buffer; \
} \
if (!ok) \
{ \
v = static_cast<CLASS::ENUM> (me.value (0)); \
v = static_cast<CLASS::ENUM> (me.value (0)); \
} \
return is; \
}