Skip to content

Commit 4bdd6fc

Browse files
committed
Add missing NOLINT
1 parent b486544 commit 4bdd6fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_stl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ TEST_SUBMODULE(stl, m) {
401401
m.def("half_or_none_refsensitive", [](int x) -> refsensitive_opt_int {
402402
return x ? refsensitive_opt_int(x / 2) : refsensitive_opt_int();
403403
});
404+
// NOLINTNEXTLINE(performance-unnecessary-value-param)
404405
m.def("test_nullopt_refsensitive", [](refsensitive_opt_int x) {
405406
return x ? x.value() : 42;
406407
}, py::arg_v("x", refsensitive_opt_int(), "None"));

0 commit comments

Comments
 (0)