This commit is contained in:
Alex 2017-10-04 17:33:06 +00:00 committed by GitHub
commit 1dfb01cb55

View File

@ -95,7 +95,7 @@ SOFTWARE.
#define JSON_TRY try #define JSON_TRY try
#define JSON_CATCH(exception) catch(exception) #define JSON_CATCH(exception) catch(exception)
#else #else
#define JSON_THROW(exception) std::abort() #define JSON_THROW(exception) std::cerr<<exception.what()<<std::endl; std::abort()
#define JSON_TRY if(true) #define JSON_TRY if(true)
#define JSON_CATCH(exception) if(false) #define JSON_CATCH(exception) if(false)
#endif #endif