summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-31 01:25:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-31 01:25:29 -0400
commit5ec98f3ed3a4ab8667e77ac7189bc22a9b097309 (patch)
treee485e435f4002c170e12177dd55e33db795173eb /src/amount.h
parente4c7df4002c896ef9e33bd7bf38f7b6c88e5483e (diff)
downloadfork-ledger-5ec98f3ed3a4ab8667e77ac7189bc22a9b097309.tar.gz
fork-ledger-5ec98f3ed3a4ab8667e77ac7189bc22a9b097309.tar.bz2
fork-ledger-5ec98f3ed3a4ab8667e77ac7189bc22a9b097309.zip
Several corrections to the way rationals are handled.
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h
index 906aef0b..d15a0205 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -147,7 +147,9 @@ public:
protected:
void _copy(const amount_t& amt);
void _dup();
+#ifdef INTEGER_MATH
void _resize(precision_t prec);
+#endif
void _clear();
void _release();