summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-01-14 23:20:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:49 -0400
commit1d88eca4b65d5de530cda1e63ed94dc18e964078 (patch)
tree2a9ea192dfdf53db9e560346721a913030969197
parentc59a5c9f86c2eaaddf6d4cff5e1ae69721d8c709 (diff)
downloadfork-ledger-1d88eca4b65d5de530cda1e63ed94dc18e964078.tar.gz
fork-ledger-1d88eca4b65d5de530cda1e63ed94dc18e964078.tar.bz2
fork-ledger-1d88eca4b65d5de530cda1e63ed94dc18e964078.zip
(class commodity_t): Added commodity_t::default_commodity.
-rw-r--r--amount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/amount.h b/amount.h
index 9b9dc225..90447e09 100644
--- a/amount.h
+++ b/amount.h
@@ -335,6 +335,7 @@ class commodity_t
static commodities_map commodities;
static commodity_t * null_commodity;
+ static commodity_t * default_commodity;
static bool add_commodity(commodity_t * commodity,
const std::string symbol = "") {