diff options
Diffstat (limited to 'src/py_xact.cc')
-rw-r--r-- | src/py_xact.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/py_xact.cc b/src/py_xact.cc index c4e1fd32..6553a67f 100644 --- a/src/py_xact.cc +++ b/src/py_xact.cc @@ -98,9 +98,9 @@ void export_xact() .def("finalize", &xact_base_t::finalize) - .def("__iter__", range<return_internal_reference<> > + .def("__iter__", python::range<return_internal_reference<> > (&xact_t::posts_begin, &xact_t::posts_end)) - .def("posts", range<return_internal_reference<> > + .def("posts", python::range<return_internal_reference<> > (&xact_t::posts_begin, &xact_t::posts_end)) .def("valid", &xact_base_t::valid) |