Skip to content

Commit 04597c3

Browse files
authored
Merge pull request #1214 from devsisters/fix-1213
Fix #1213
2 parents 359f98d + aada309 commit 04597c3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

include/nlohmann/detail/macro_scope.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
#if defined(JSON_CATCH_USER)
6363
#undef JSON_CATCH
6464
#define JSON_CATCH JSON_CATCH_USER
65+
#undef JSON_INTERNAL_CATCH
6566
#define JSON_INTERNAL_CATCH JSON_CATCH_USER
6667
#endif
6768
#if defined(JSON_INTERNAL_CATCH_USER)

single_include/nlohmann/json.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ using json = basic_json<>;
177177
#if defined(JSON_CATCH_USER)
178178
#undef JSON_CATCH
179179
#define JSON_CATCH JSON_CATCH_USER
180+
#undef JSON_INTERNAL_CATCH
180181
#define JSON_INTERNAL_CATCH JSON_CATCH_USER
181182
#endif
182183
#if defined(JSON_INTERNAL_CATCH_USER)

0 commit comments

Comments
 (0)