mirror of
https://github.com/nlohmann/json.git
synced 2026-02-27 13:56:26 +00:00
🚨 fixed some compiler warnings
This commit is contained in:
@@ -435,7 +435,7 @@ TEST_CASE("value conversion")
|
||||
|
||||
SECTION("get null (explicit)")
|
||||
{
|
||||
std::nullptr_t n;
|
||||
std::nullptr_t n = nullptr;
|
||||
json j(n);
|
||||
|
||||
auto n2 = j.get<std::nullptr_t>();
|
||||
|
||||
Reference in New Issue
Block a user