diff options
author | Tim Crews <tim@code-affinity.com> | 2013-06-16 12:39:30 -0700 |
---|---|---|
committer | Tim Crews <tim@code-affinity.com> | 2013-06-16 12:39:30 -0700 |
commit | 4bcaa45f1663ca4ce3399ae412642624050c5060 (patch) | |
tree | 9bec008355d592494bd9bf4274e56b48f76cc68a /src/py_commodity.cc | |
parent | 0c071d6e1c52006e1a582ccb1ba5b2c31e6bc1d8 (diff) | |
download | fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.tar.gz fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.tar.bz2 fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.zip |
Additional changes required for MSVC to compile ledger.
These changes only matter if ledger is compiled with USE_PYTHON.
Diffstat (limited to 'src/py_commodity.cc')
-rw-r--r-- | src/py_commodity.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/py_commodity.cc b/src/py_commodity.cc index 44a45e33..fd932fc7 100644 --- a/src/py_commodity.cc +++ b/src/py_commodity.cc @@ -151,13 +151,13 @@ namespace { py_pool_commodities_keys_begin(commodity_pool_t& pool) { return make_transform_iterator (pool.commodities.begin(), - bind(&commodity_pool_t::commodities_map::value_type::first, _1)); + boost::bind(&commodity_pool_t::commodities_map::value_type::first, _1)); } commodities_map_firsts_iterator py_pool_commodities_keys_end(commodity_pool_t& pool) { return make_transform_iterator (pool.commodities.end(), - bind(&commodity_pool_t::commodities_map::value_type::first, _1)); + boost::bind(&commodity_pool_t::commodities_map::value_type::first, _1)); } typedef transform_iterator @@ -169,15 +169,15 @@ namespace { py_pool_commodities_values_begin(commodity_pool_t& pool) { return make_transform_iterator (pool.commodities.begin(), - bind(&shared_ptr<commodity_t>::get, - bind(&commodity_pool_t::commodities_map::value_type::second, _1))); + boost::bind(&shared_ptr<commodity_t>::get, + boost::bind(&commodity_pool_t::commodities_map::value_type::second, _1))); } commodities_map_seconds_iterator py_pool_commodities_values_end(commodity_pool_t& pool) { return make_transform_iterator (pool.commodities.end(), - bind(&shared_ptr<commodity_t>::get, - bind(&commodity_pool_t::commodities_map::value_type::second, _1))); + boost::bind(&shared_ptr<commodity_t>::get, + boost::bind(&commodity_pool_t::commodities_map::value_type::second, _1))); } void py_add_price_2(commodity_t& commodity, |