summaryrefslogtreecommitdiff
path: root/src/history.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.cc')
-rw-r--r--src/history.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/history.cc b/src/history.cc
index 3767c1df..f1e88401 100644
--- a/src/history.cc
+++ b/src/history.cc
@@ -212,9 +212,11 @@ void commodity_history_t::map_prices(function<void(datetime_t,
else
price.set_commodity(const_cast<commodity_t&>(*get(namemap, sv)));
DEBUG("history.map", "Inverted price is " << price);
+ DEBUG("history.map", "fn(" << when << ", " << price << ")");
fn(when, price);
}
} else {
+ DEBUG("history.map", "fn(" << when << ", " << pair.second << ")");
fn(when, pair.second);
}
}