diff --git a/src/json.hpp b/src/json.hpp index 0771a610b..02a4a2620 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -507,8 +507,8 @@ template void try_throw_exception(exception* ex) { #ifdef JSON_EXCEPTIONS_ENABLED - // Only use RTTI if necessary (exceptions are enabled). This way - // can be compiled with no RTTI. + // Only use RTTI if necessary (exceptions are enabled). This way + // can be compiled with no RTTI. Exception* down = dynamic_cast(ex); if(down != nullptr) { @@ -516,7 +516,7 @@ void try_throw_exception(exception* ex) } #else ex = ex; // suppress unreferenced formal parameter warnings - std::abort(); + std::abort(); #endif }