Skip to content

Commit bf6df40

Browse files
dyollbhenryiii
authored andcommitted
make clang-tidy happy
1 parent 1afb004 commit bf6df40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pytypes.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ TEST_SUBMODULE(pytypes, m) {
671671

672672
m.def("test_list_slicing", [](const py::list &a) { return a[py::slice(0, -1, 2)]; });
673673

674-
m.def("test_list_slicing_default", [](py::list a) { return a[py::slice()]; });
674+
m.def("test_list_slicing_default", [](const py::list &a) { return a[py::slice()]; });
675675

676676
// See #2361
677677
m.def("issue2361_str_implicit_copy_none", []() {

0 commit comments

Comments
 (0)