Fix #1213
This commit is contained in:
parent
359f98d140
commit
aada309f61
2 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@
|
||||||
#if defined(JSON_CATCH_USER)
|
#if defined(JSON_CATCH_USER)
|
||||||
#undef JSON_CATCH
|
#undef JSON_CATCH
|
||||||
#define JSON_CATCH JSON_CATCH_USER
|
#define JSON_CATCH JSON_CATCH_USER
|
||||||
|
#undef JSON_INTERNAL_CATCH
|
||||||
#define JSON_INTERNAL_CATCH JSON_CATCH_USER
|
#define JSON_INTERNAL_CATCH JSON_CATCH_USER
|
||||||
#endif
|
#endif
|
||||||
#if defined(JSON_INTERNAL_CATCH_USER)
|
#if defined(JSON_INTERNAL_CATCH_USER)
|
||||||
|
|
|
@ -177,6 +177,7 @@ using json = basic_json<>;
|
||||||
#if defined(JSON_CATCH_USER)
|
#if defined(JSON_CATCH_USER)
|
||||||
#undef JSON_CATCH
|
#undef JSON_CATCH
|
||||||
#define JSON_CATCH JSON_CATCH_USER
|
#define JSON_CATCH JSON_CATCH_USER
|
||||||
|
#undef JSON_INTERNAL_CATCH
|
||||||
#define JSON_INTERNAL_CATCH JSON_CATCH_USER
|
#define JSON_INTERNAL_CATCH JSON_CATCH_USER
|
||||||
#endif
|
#endif
|
||||||
#if defined(JSON_INTERNAL_CATCH_USER)
|
#if defined(JSON_INTERNAL_CATCH_USER)
|
||||||
|
|
Loading…
Reference in a new issue