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) {
193
193
194
194
// test_move_and_copy_loads
195
195
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
198
197
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
201
199
m.def (" copy_only" , [](CopyOnlyInt m) { return m.value ; });
202
200
m.def (" move_pair" ,
203
201
[](std::pair<MoveOnlyInt, MoveOrCopyInt> p) { return p.first .value + p.second .value ; });
You can’t perform that action at this time.
0 commit comments