diff options
Diffstat (limited to 'py_amount.cc')
-rw-r--r-- | py_amount.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py_amount.cc b/py_amount.cc index 7c27e095..eb0a4dd4 100644 --- a/py_amount.cc +++ b/py_amount.cc @@ -34,9 +34,9 @@ struct commodity_updater_wrap : public commodity_base_t::updater_t commodity_updater_wrap(PyObject * self_) : self(self_) {} virtual void operator()(commodity_base_t& commodity, - const ptime& moment, - const ptime& date, - const ptime& last, + const moment_t& moment, + const moment_t& date, + const moment_t& last, amount_t& price) { call_method<void>(self, "__call__", commodity, moment, date, last, price); } |