@@ -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