diff options
author | John Wiegley <johnw@newartisans.com> | 2008-05-08 02:19:44 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-05-08 02:50:19 -0400 |
commit | d159501993cfd0215f94f0e5e16796558417b681 (patch) | |
tree | b0e2b9e9e707dd3f71683e81b9c9c3a1f8b47f86 /balance.h | |
parent | 7ecbf3e125481a02c541f9eb3ed795ac3e245541 (diff) | |
download | fork-ledger-d159501993cfd0215f94f0e5e16796558417b681.tar.gz fork-ledger-d159501993cfd0215f94f0e5e16796558417b681.tar.bz2 fork-ledger-d159501993cfd0215f94f0e5e16796558417b681.zip |
The code is compiling again, but it's far from being able to run yet.
Diffstat (limited to 'balance.h')
-rw-r--r-- | balance.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -275,7 +275,7 @@ public: * amount. That is, a balance of 10m and 1799s will unreduce to * 39.98m. * - * value(optional<moment_t>) returns the total historical value for + * value(optional<datetime_t>) returns the total historical value for * a balance -- the default moment returns a value based on the most * recently known price -- based on the price history of its * component commodities. See amount_t::value for an example. @@ -346,7 +346,7 @@ public: return *this = temp; } - optional<balance_t> value(const optional<moment_t>& moment = none) const; + optional<balance_t> value(const optional<datetime_t>& moment = none) const; /** * Truth tests. An balance may be truth test in two ways: |