summaryrefslogtreecommitdiff
path: root/src/balance.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-02 03:04:20 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:35 -0400
commit230e03166f061387e7e25591bd2df6acad4195ee (patch)
tree34d80727f5efa12714f592e1010b51efbc9ba587 /src/balance.cc
parente70b80d6fe1ed6da6812eb3f4c77570a18eb2bf3 (diff)
downloadfork-ledger-230e03166f061387e7e25591bd2df6acad4195ee.tar.gz
fork-ledger-230e03166f061387e7e25591bd2df6acad4195ee.tar.bz2
fork-ledger-230e03166f061387e7e25591bd2df6acad4195ee.zip
In the middle of switching to using boost/operators.hpp
Diffstat (limited to 'src/balance.cc')
-rw-r--r--src/balance.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/balance.cc b/src/balance.cc
index 462a7074..e2e7df43 100644
--- a/src/balance.cc
+++ b/src/balance.cc
@@ -298,6 +298,7 @@ balance_t& balance_t::operator/=(const amount_t& amt)
return *this;
}
+#if 0
balance_t::operator amount_t() const
{
if (amounts.size() == 1) {
@@ -317,5 +318,6 @@ balance_t::operator amount_t() const
"multiple commodities to an amount: " << temp);
}
}
+#endif
} // namespace ledger