From ba2a54f3d22dacd69d8202fc9a7d32a2b40b1d1e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 18 Apr 2007 23:50:25 +0000 Subject: Initial round of changes to use boost_date_time --- py_amount.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'py_amount.cc') diff --git a/py_amount.cc b/py_amount.cc index 18fd3588..afa5b963 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 datetime_t& moment, - const datetime_t& date, - const datetime_t& last, + const ptime& moment, + const ptime& date, + const ptime& last, amount_t& price) { call_method(self, "__call__", commodity, moment, date, last, price); } -- cgit v1.2.3