Resolve `error: extra

This commit is contained in:
Ralf W. Grosse-Kunstleve 2024-08-25 14:28:34 -07:00
parent 7c951c5b87
commit 2dd6c7a227

View File

@ -30,7 +30,7 @@ inline void wrap_traveler(py::module_ m) {
.def_readwrite("luggage", &Traveler::luggage); .def_readwrite("luggage", &Traveler::luggage);
m.def("get_luggage", [](const Traveler &person) { return person.luggage; }); m.def("get_luggage", [](const Traveler &person) { return person.luggage; });
}; }
} // namespace test_cpp_transporter } // namespace test_cpp_transporter
} // namespace pybind11_tests } // namespace pybind11_tests