mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +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