mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
Resolve `error: extra
This commit is contained in:
parent
7c951c5b87
commit
2dd6c7a227
@ -30,7 +30,7 @@ inline void wrap_traveler(py::module_ m) {
|
||||
.def_readwrite("luggage", &Traveler::luggage);
|
||||
|
||||
m.def("get_luggage", [](const Traveler &person) { return person.luggage; });
|
||||
};
|
||||
}
|
||||
|
||||
} // namespace test_cpp_transporter
|
||||
} // namespace pybind11_tests
|
||||
|
Loading…
Reference in New Issue
Block a user