From 8372e03e57f38c40140ad5c2116009bdfc4461fc Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 24 Dec 2021 15:11:25 +0100 Subject: [PATCH] :rotating_light: fix warnings --- test/src/unit-regression1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/unit-regression1.cpp b/test/src/unit-regression1.cpp index 9839e088e..e91bbda14 100644 --- a/test/src/unit-regression1.cpp +++ b/test/src/unit-regression1.cpp @@ -183,7 +183,7 @@ TEST_CASE("regression tests 1") json::number_float_t f1{j1}; CHECK(!std::isfinite(f1)); - json j2 = json::static_cast(INFINITY); + json j2 = static_cast(INFINITY); CHECK(j2.is_number_float()); json::number_float_t f2{j2}; CHECK(!std::isfinite(f2));