summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-05-17 17:50:44 -0500
committerJohn Wiegley <johnw@newartisans.com>2015-05-17 17:50:44 -0500
commit7df6a515e244c0d399da2b77e16c248e50a70ed9 (patch)
tree6b3ffbb5271ee7b30afe27d24339551886fe6c2e
parent2e02e0862f1029cf72a8713643dcb7892598e5fa (diff)
downloadfork-ledger-7df6a515e244c0d399da2b77e16c248e50a70ed9.tar.gz
fork-ledger-7df6a515e244c0d399da2b77e16c248e50a70ed9.tar.bz2
fork-ledger-7df6a515e244c0d399da2b77e16c248e50a70ed9.zip
Revert "fix build for boost 1.58"
This reverts commit 68c9d649caa2c7c7f222613efe86576c379a5a7a.
-rw-r--r--src/filters.cc2
-rw-r--r--src/iterators.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/filters.cc b/src/filters.cc
index b6530c04..2f97a0e5 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()(const datetime_t& date, const amount_t& price) {
+ void operator()(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 0225e210..21bec5d9 100644
--- a/src/iterators.cc
+++ b/src/iterators.cc
@@ -96,7 +96,7 @@ namespace {
TRACE_DTOR(create_price_xact);
}
- void operator()(const datetime_t& date, const amount_t& price) {
+ void operator()(datetime_t& date, const amount_t& price) {
xact_t * xact;
string symbol = price.commodity().symbol();