File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -193,11 +193,9 @@ TEST_SUBMODULE(copy_move_policies, m) {
193193
194194 // test_move_and_copy_loads
195195 m.def (" move_only" , [](MoveOnlyInt m) { return m.value ; });
196- // Changing this breaks the existing test: needs careful review.
197- // NOLINTNEXTLINE(performance-unnecessary-value-param)
196+ // NOLINTNEXTLINE(performance-unnecessary-value-param): we want to test copying
198197 m.def (" move_or_copy" , [](MoveOrCopyInt m) { return m.value ; });
199- // Changing this breaks the existing test: needs careful review.
200- // NOLINTNEXTLINE(performance-unnecessary-value-param)
198+ // NOLINTNEXTLINE(performance-unnecessary-value-param): we want to test copying
201199 m.def (" copy_only" , [](CopyOnlyInt m) { return m.value ; });
202200 m.def (" move_pair" ,
203201 [](std::pair<MoveOnlyInt, MoveOrCopyInt> p) { return p.first .value + p.second .value ; });
You can’t perform that action at this time.
0 commit comments