From 51115f0a91b81453fc0f7b055df5a4ea13ee70a7 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 27 May 2010 21:23:50 -0600 Subject: Updated to Boost 1.43 --- src/py_account.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/py_account.cc') diff --git a/src/py_account.cc b/src/py_account.cc index 3114cc0b..2b860a24 100644 --- a/src/py_account.cc +++ b/src/py_account.cc @@ -207,11 +207,11 @@ void export_account() .def("__len__", accounts_len) .def("__getitem__", accounts_getitem, return_internal_reference<>()) - .def("__iter__", range > + .def("__iter__", python::range > (&account_t::accounts_begin, &account_t::accounts_end)) - .def("accounts", range > + .def("accounts", python::range > (&account_t::accounts_begin, &account_t::accounts_end)) - .def("posts", range > + .def("posts", python::range > (&account_t::posts_begin, &account_t::posts_end)) .def("has_xdata", &account_t::has_xdata) -- cgit v1.2.3