diff options
author | Johann Klähn <kljohann@gmail.com> | 2015-05-10 13:41:26 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-28 18:22:20 +0200 |
commit | a1cb25ad2d9a98ea9ec0bb3ee27fe3cde6046434 (patch) | |
tree | a39a7347544b4f1b9d23cfdf9788fa46d535b2a6 | |
parent | 21c3569a70c675c388f0d349a6ba8512d3c141aa (diff) | |
download | fork-ledger-a1cb25ad2d9a98ea9ec0bb3ee27fe3cde6046434.tar.gz fork-ledger-a1cb25ad2d9a98ea9ec0bb3ee27fe3cde6046434.tar.bz2 fork-ledger-a1cb25ad2d9a98ea9ec0bb3ee27fe3cde6046434.zip |
fix build for boost 1.58
-rw-r--r-- | src/filters.cc | 2 | ||||
-rw-r--r-- | src/iterators.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/filters.cc b/src/filters.cc index 2f97a0e5..b6530c04 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -707,7 +707,7 @@ namespace { insert_prices_in_map(price_map_t& _all_prices) : all_prices(_all_prices) {} - void operator()(datetime_t& date, const amount_t& price) { + void operator()(const datetime_t& date, const amount_t& price) { all_prices.insert(price_map_t::value_type(date, price)); } }; diff --git a/src/iterators.cc b/src/iterators.cc index 21bec5d9..0225e210 100644 --- a/src/iterators.cc +++ b/src/iterators.cc @@ -96,7 +96,7 @@ namespace { TRACE_DTOR(create_price_xact); } - void operator()(datetime_t& date, const amount_t& price) { + void operator()(const datetime_t& date, const amount_t& price) { xact_t * xact; string symbol = price.commodity().symbol(); |