diff options
Diffstat (limited to 'src/py_amount.cc')
-rw-r--r-- | src/py_amount.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/py_amount.cc b/src/py_amount.cc index 89960fdf..e39f32e0 100644 --- a/src/py_amount.cc +++ b/src/py_amount.cc @@ -7,13 +7,6 @@ namespace ledger { using namespace boost::python; -int py_amount_quantity(amount_t& amount) -{ - std::ostringstream quant; - amount.print_quantity(quant); - return std::atol(quant.str().c_str()); -} - void py_parse_1(amount_t& amount, const string& str, unsigned char flags) { amount.parse(str, flags); |