mirror of https://github.com/nlohmann/json.git
Use DOCTEST_* compiler macros and suppress pragmas warning (#3550)
Use DOCTEST_* macros in place of predefined compiler macros for compiler detection and version checks. The suppression of warning -Wrange-loop-construct in unit-items.cpp causes GCC<11 to warn about pragmas. Suppressed by adding a version check.pull/3555/head
parent
87cda1d664
commit
39e27684ea
Loading…
Reference in New Issue