From 96593d314245052820d3d41bca53b3ab57c617bd Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Sun, 10 Aug 2025 17:37:21 +0200 Subject: [PATCH] Reduce NOLINT --- tests/test_copy_move.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_copy_move.cpp b/tests/test_copy_move.cpp index 9ac4d98d7..730a3202b 100644 --- a/tests/test_copy_move.cpp +++ b/tests/test_copy_move.cpp @@ -193,11 +193,7 @@ TEST_SUBMODULE(copy_move_policies, m) { // test_move_and_copy_loads m.def("move_only", [](MoveOnlyInt m) { return m.value; }); - // Changing this breaks the existing test: needs careful review. - // NOLINTNEXTLINE(performance-unnecessary-value-param) m.def("move_or_copy", [](MoveOrCopyInt m) { return m.value; }); - // Changing this breaks the existing test: needs careful review. - // NOLINTNEXTLINE(performance-unnecessary-value-param) m.def("copy_only", [](CopyOnlyInt m) { return m.value; }); m.def("move_pair", [](std::pair p) { return p.first.value + p.second.value; });