From 8e79917d3244d75a7bbe1b3586aa157eaf9f9198 Mon Sep 17 00:00:00 2001 From: Anthony VH Date: Wed, 24 Mar 2021 13:27:59 +0100 Subject: [PATCH] Fix clang-tidy complaints. --- test/src/unit-regression2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/unit-regression2.cpp b/test/src/unit-regression2.cpp index 416ca16c5..f9873f5f4 100644 --- a/test/src/unit-regression2.cpp +++ b/test/src/unit-regression2.cpp @@ -140,7 +140,7 @@ struct NotSerializableData struct NonDefaultConstructible { - explicit NonDefaultConstructible (int x) : x(x) { } + explicit NonDefaultConstructible (int a) : x(a) { } int x; }; @@ -154,7 +154,7 @@ struct adl_serializer return NonDefaultConstructible(j.get()); } }; -} +} // namespace nlohmann TEST_CASE("regression tests 2")