summaryrefslogtreecommitdiff
path: root/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-05-08 02:19:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-05-08 02:50:19 -0400
commitd159501993cfd0215f94f0e5e16796558417b681 (patch)
treeb0e2b9e9e707dd3f71683e81b9c9c3a1f8b47f86 /balance.h
parent7ecbf3e125481a02c541f9eb3ed795ac3e245541 (diff)
downloadfork-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/balance.h b/balance.h
index aeee506f..8141c3b7 100644
--- a/balance.h
+++ b/balance.h
@@ -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: