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_commodity.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_commodity.cc')
-rw-r--r-- | src/py_commodity.cc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/py_commodity.cc b/src/py_commodity.cc index 22a4f153..d89a7151 100644 --- a/src/py_commodity.cc +++ b/src/py_commodity.cc @@ -295,13 +295,16 @@ void export_commodity() .def("keys", py_pool_keys) .def("has_key", py_pool_contains) .def("__contains__", py_pool_contains) - .def("__iter__", range<return_value_policy<reference_existing_object> > + .def("__iter__", + python::range<return_value_policy<reference_existing_object> > (py_pool_commodities_begin, py_pool_commodities_end)) - .def("iteritems", range<return_value_policy<reference_existing_object> > + .def("iteritems", + python::range<return_value_policy<reference_existing_object> > (py_pool_commodities_begin, py_pool_commodities_end)) - .def("iterkeys", range<>(py_pool_commodities_keys_begin, - py_pool_commodities_keys_end)) - .def("itervalues", range<return_value_policy<reference_existing_object> > + .def("iterkeys", python::range<>(py_pool_commodities_keys_begin, + py_pool_commodities_keys_end)) + .def("itervalues", + python::range<return_value_policy<reference_existing_object> > (py_pool_commodities_values_begin, py_pool_commodities_values_end)) ; |