summaryrefslogtreecommitdiff
path: root/src/balance.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-13 09:27:26 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:49 -0400
commit9044bf168ab0d8d6df03034898b1e5a4cb1559e8 (patch)
treecc5233bf5394f72b1b2cb7aa866cd8b67ff9d346 /src/balance.cc
parent994fb346993ddee2eaa4fb57eba2575636012b1a (diff)
downloadfork-ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.tar.gz
fork-ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.tar.bz2
fork-ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.zip
*** no comment ***
Diffstat (limited to 'src/balance.cc')
-rw-r--r--src/balance.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/balance.cc b/src/balance.cc
index 6952b123..80ddd2e4 100644
--- a/src/balance.cc
+++ b/src/balance.cc
@@ -135,7 +135,7 @@ balance_t::amount(const optional<const commodity_t&>& commodity) const
if (i != amounts.end())
return (*i).second;
}
- return optional<amount_t>();
+ return none;
}
optional<balance_t>