Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jun 21, 2022
1 parent fd95405 commit bcf3103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxcp/recorder/wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PYBIND11_MODULE(rekorder, m) {
m.doc() = "XCP raw frame recorder.";
py::class_<_PyXcpLogFileReader>(m, "_PyXcpLogFileReader")
.def(py::init<const std::string &>())
.def("next_record", t&_PyXcpLogFileReader::next_record) //, py::return_value_policy::reference)
.def("next_record", &_PyXcpLogFileReader::next_record) //, py::return_value_policy::reference)
.def("get_header", &_PyXcpLogFileReader::get_header)
#if 0
.def("__iter__", [](std::vector<int>& v) {
Expand Down

0 comments on commit bcf3103

Please sign in to comment.