diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-09 05:44:06 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-09 05:44:06 -0400 |
commit | 14476a63f4abbdce5311ace031b7345a34af060b (patch) | |
tree | c1900d4f2a95db2cdb4cf7404669fe668acedb4a /src/py_amount.cc | |
parent | e8ffbd6f2fb57f2b65f57f92edf8eb444cc2f71f (diff) | |
parent | 474d95adeb09b0c13f0e19b336b5b01ee69c6275 (diff) | |
download | fork-ledger-14476a63f4abbdce5311ace031b7345a34af060b.tar.gz fork-ledger-14476a63f4abbdce5311ace031b7345a34af060b.tar.bz2 fork-ledger-14476a63f4abbdce5311ace031b7345a34af060b.zip |
Merge branch 'next'
Diffstat (limited to 'src/py_amount.cc')
-rw-r--r-- | src/py_amount.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/py_amount.cc b/src/py_amount.cc index 5afe8c6b..c5962446 100644 --- a/src/py_amount.cc +++ b/src/py_amount.cc @@ -45,16 +45,16 @@ using namespace boost::python; namespace { boost::optional<amount_t> py_value_0(const amount_t& amount) { - return amount.value(false, CURRENT_TIME()); + return amount.value(CURRENT_TIME()); } boost::optional<amount_t> py_value_1(const amount_t& amount, commodity_t& in_terms_of) { - return amount.value(false, CURRENT_TIME(), in_terms_of); + return amount.value(CURRENT_TIME(), in_terms_of); } boost::optional<amount_t> py_value_2(const amount_t& amount, commodity_t& in_terms_of, datetime_t& moment) { - return amount.value(false, moment, in_terms_of); + return amount.value(moment, in_terms_of); } void py_parse_2(amount_t& amount, object in, unsigned char flags) { |