diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-27 21:23:50 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-27 21:35:41 -0600 |
commit | 51115f0a91b81453fc0f7b055df5a4ea13ee70a7 (patch) | |
tree | 325baa06869040fab8b780f643dcda694b95683b /src/py_account.cc | |
parent | 2fa3e50f081970b43b550f4c986eefb1298fd502 (diff) | |
download | fork-ledger-51115f0a91b81453fc0f7b055df5a4ea13ee70a7.tar.gz fork-ledger-51115f0a91b81453fc0f7b055df5a4ea13ee70a7.tar.bz2 fork-ledger-51115f0a91b81453fc0f7b055df5a4ea13ee70a7.zip |
Updated to Boost 1.43
Diffstat (limited to 'src/py_account.cc')
-rw-r--r-- | src/py_account.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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<return_internal_reference<> > + .def("__iter__", python::range<return_internal_reference<> > (&account_t::accounts_begin, &account_t::accounts_end)) - .def("accounts", range<return_internal_reference<> > + .def("accounts", python::range<return_internal_reference<> > (&account_t::accounts_begin, &account_t::accounts_end)) - .def("posts", range<return_internal_reference<> > + .def("posts", python::range<return_internal_reference<> > (&account_t::posts_begin, &account_t::posts_end)) .def("has_xdata", &account_t::has_xdata) |