Skip to content

Commit a0fb6dc

Browse files
committed
bump order in #else
1 parent 5806318 commit a0fb6dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_methods_and_attributes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,14 @@ TEST_SUBMODULE(methods_and_attributes, m) {
259259
.def("overloaded", overload_cast_<>()(&ExampleMandA::overloaded))
260260
.def("overloaded", overload_cast_<int>()(&ExampleMandA::overloaded))
261261
.def("overloaded", overload_cast_<int, float>()(&ExampleMandA::overloaded))
262-
.def("overloaded", static_cast<py::str (ExampleMandA::*)(float, int)>(&ExampleMandA::overloaded))
263262
.def("overloaded", static_cast<py::str (ExampleMandA::*)(int, int)>(&ExampleMandA::overloaded))
263+
.def("overloaded", static_cast<py::str (ExampleMandA::*)(float, int)>(&ExampleMandA::overloaded))
264264
.def("overloaded", static_cast<py::str (ExampleMandA::*)(float, float)>(&ExampleMandA::overloaded))
265265
.def("overloaded_float", overload_cast_<float, float>()(&ExampleMandA::overloaded))
266266
.def("overloaded_const", overload_cast_<int >()(&ExampleMandA::overloaded, py::const_))
267267
.def("overloaded_const", overload_cast_<int, float>()(&ExampleMandA::overloaded, py::const_))
268-
.def("overloaded_const", static_cast<py::str (ExampleMandA::*)(float, int) const>(&ExampleMandA::overloaded))
269268
.def("overloaded_const", static_cast<py::str (ExampleMandA::*)(int, int) const>(&ExampleMandA::overloaded))
269+
.def("overloaded_const", static_cast<py::str (ExampleMandA::*)(float, int) const>(&ExampleMandA::overloaded))
270270
.def("overloaded_const", static_cast<py::str (ExampleMandA::*)(float, float) const>(&ExampleMandA::overloaded))
271271
#endif
272272
// test_no_mixed_overloads

0 commit comments

Comments
 (0)