diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-17 21:19:31 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-17 21:19:31 -0400 |
commit | 4ec2dfeef13ead1d87302ef953e05efec102bb25 (patch) | |
tree | 0ff109dd6aaccf466ecbd64f80ae3138b9219b6a /src/scope.h | |
parent | 93d195f1d97c376c26e5a7e88d6b0fc6e3b8e2d0 (diff) | |
download | fork-ledger-4ec2dfeef13ead1d87302ef953e05efec102bb25.tar.gz fork-ledger-4ec2dfeef13ead1d87302ef953e05efec102bb25.tar.bz2 fork-ledger-4ec2dfeef13ead1d87302ef953e05efec102bb25.zip |
Added --flat option, to flatten the balance report
Diffstat (limited to 'src/scope.h')
-rw-r--r-- | src/scope.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/scope.h b/src/scope.h index 2ab788fc..b49e3ebe 100644 --- a/src/scope.h +++ b/src/scope.h @@ -345,6 +345,15 @@ public: }; template <> +inline bool var_t<bool>::operator *() { + return value->to_boolean(); +} +template <> +inline bool var_t<bool>::operator *() const { + return value->to_boolean(); +} + +template <> inline long var_t<long>::operator *() { return value->to_long(); } |