mirror of
https://github.com/nlohmann/json.git
synced 2026-02-24 04:16:26 +00:00
Fix global UDLs (#3646)
* Add ci_test_noglobaludls to CI * Really default JSON_GLOBAL_UDLS to 1 * Test global UDLs * Suppress warnings * Clarify documentation
This commit is contained in:
committed by
GitHub
parent
817a4a2117
commit
cbaf1033be
@@ -10,7 +10,9 @@
|
||||
#include "doctest_compatibility.h"
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
using namespace nlohmann::literals; // NOLINT(google-build-using-namespace)
|
||||
#ifdef JSON_TEST_NO_GLOBAL_UDLS
|
||||
using namespace nlohmann::literals; // NOLINT(google-build-using-namespace)
|
||||
#endif
|
||||
|
||||
TEST_CASE_TEMPLATE("element access 2", Json, nlohmann::json, nlohmann::ordered_json)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user