mirror of
https://github.com/nlohmann/json.git
synced 2026-10-12 17:37:15 +00:00
Fix -Wunused warnings on JSON_DIAGNOSTICS (#2976)
* Fix #2975 Define JSON_DIAGNOSTICS to 0 if not defined to fix annoying Wundef warnings. * amalgamated
This commit is contained in:
1 parent
1fd2213fd2
commit
28a169725e
2 files changed
+8
No files matched your search
@@ -301,3 +301,7 @@
|
||||
#else
|
||||
#define JSON_EXPLICIT explicit
|
||||
#endif
|
||||
|
||||
#ifndef JSON_DIAGNOSTICS
|
||||
#define JSON_DIAGNOSTICS 0
|
||||
#endif
|
||||
Reference in new issue
Block a user