diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-20 02:13:48 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:28 -0400 |
commit | 539370ff1b37772e9f11439f652ffd3583beeedb (patch) | |
tree | 69e8b0a0aee571d7335eae4c6693829745de1484 /py_amount.cc | |
parent | 0a6b5726ec3bf402a953ea8a03b98ecbf4b90b0c (diff) | |
download | fork-ledger-539370ff1b37772e9f11439f652ffd3583beeedb.tar.gz fork-ledger-539370ff1b37772e9f11439f652ffd3583beeedb.tar.bz2 fork-ledger-539370ff1b37772e9f11439f652ffd3583beeedb.zip |
More refactoring
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); } |