diff --git a/Reflection/Struct.cpp b/Reflection/Struct.cpp index 5567172d8..723af2d9e 100644 --- a/Reflection/Struct.cpp +++ b/Reflection/Struct.cpp @@ -144,9 +144,7 @@ std::string Reflection::Struct::description() const { // Output Bools as yes/no. if(*type == typeid(bool)) { - bool value; - ::Reflection::get(*this, key, value); - stream << (value ? "true" : "false"); + stream << ::Reflection::get(*this, key); continue; }