Merge da466c5469 into 99ee4c1eaf
This commit is contained in:
commit
1dfb01cb55
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user