diff --git a/tests/src/unit-regression2.cpp b/tests/src/unit-regression2.cpp index b5fb9d837..711dba063 100644 --- a/tests/src/unit-regression2.cpp +++ b/tests/src/unit-regression2.cpp @@ -42,22 +42,6 @@ using ordered_json = nlohmann::ordered_json; #elif __has_include() #include #endif - - ///////////////////////////////////////////////////////////////////// - // for #4804 - ///////////////////////////////////////////////////////////////////// - using json_4804 = nlohmann::basic_json, // BinaryType - void // CustomBaseClass - >; #endif #ifdef JSON_HAS_CPP_20 diff --git a/tests/src/unit-regression3.cpp b/tests/src/unit-regression3.cpp index db190f111..e9ae61a6a 100644 --- a/tests/src/unit-regression3.cpp +++ b/tests/src/unit-regression3.cpp @@ -42,6 +42,22 @@ using ordered_json = nlohmann::ordered_json; #elif __has_include() #include #endif + + ///////////////////////////////////////////////////////////////////// + // for #4804 + ///////////////////////////////////////////////////////////////////// + using json_4804 = nlohmann::basic_json, // BinaryType + void // CustomBaseClass + >; #endif #if JSON_HAS_RANGES == 1