From 8ef27594d14b77ef85869cb48d5a67fdbdc0c8fd Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 26 Mar 2024 17:25:26 +0100 Subject: [PATCH] :rotating_light: fix warning --- tests/src/unit-conversions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-conversions.cpp b/tests/src/unit-conversions.cpp index d7df0bee55..1d89ec5447 100644 --- a/tests/src/unit-conversions.cpp +++ b/tests/src/unit-conversions.cpp @@ -1164,7 +1164,7 @@ TEST_CASE("value conversion") SECTION("non-const") { - const json j_const = j; + const json j_const = j; // NOLINT(performance-unnecessary-copy-initialization) const auto& b = j_const.get_binary(); CHECK(*json(b).m_data.m_value.binary == *j.m_data.m_value.binary); }