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));