summaryrefslogtreecommitdiff
path: root/src/py_value.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-09 05:44:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-09 05:44:06 -0400
commit14476a63f4abbdce5311ace031b7345a34af060b (patch)
treec1900d4f2a95db2cdb4cf7404669fe668acedb4a /src/py_value.cc
parente8ffbd6f2fb57f2b65f57f92edf8eb444cc2f71f (diff)
parent474d95adeb09b0c13f0e19b336b5b01ee69c6275 (diff)
downloadfork-ledger-14476a63f4abbdce5311ace031b7345a34af060b.tar.gz
fork-ledger-14476a63f4abbdce5311ace031b7345a34af060b.tar.bz2
fork-ledger-14476a63f4abbdce5311ace031b7345a34af060b.zip
Merge branch 'next'
Diffstat (limited to 'src/py_value.cc')
-rw-r--r--src/py_value.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/py_value.cc b/src/py_value.cc
index 449320ec..46fa94c3 100644
--- a/src/py_value.cc
+++ b/src/py_value.cc
@@ -48,16 +48,16 @@ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(set_string_overloads, set_string, 0, 2)
namespace {
boost::optional<value_t> py_value_0(const value_t& value) {
- return value.value(false, CURRENT_TIME());
+ return value.value(CURRENT_TIME());
}
boost::optional<value_t> py_value_1(const value_t& value,
commodity_t& in_terms_of) {
- return value.value(false, CURRENT_TIME(), in_terms_of);
+ return value.value(CURRENT_TIME(), in_terms_of);
}
boost::optional<value_t> py_value_2(const value_t& value,
commodity_t& in_terms_of,
datetime_t& moment) {
- return value.value(false, moment, in_terms_of);
+ return value.value(moment, in_terms_of);
}
PyObject * py_base_type(value_t& value)