summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-29 16:25:22 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-29 16:25:22 -0500
commit0f180b917ae00b7b247db367020fd29823000877 (patch)
tree632df80d2f2a1387dfd4f6b67eda1baf2c2e08d8 /src/commodity.cc
parent7422fa5f3e2505dfa8f5494e4ce9e987440a57a1 (diff)
downloadfork-ledger-0f180b917ae00b7b247db367020fd29823000877.tar.gz
fork-ledger-0f180b917ae00b7b247db367020fd29823000877.tar.bz2
fork-ledger-0f180b917ae00b7b247db367020fd29823000877.zip
Improved some error messages
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 51b8f29c..bc04c3db 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -384,7 +384,7 @@ void commodity_t::parse_symbol(char *& p, string& symbol)
throw_(amount_error, _("Failed to parse commodity"));
}
-void commodity_t::print(std::ostream& out, bool elide_quotes) const
+void commodity_t::print(std::ostream& out, bool elide_quotes, bool) const
{
string sym = symbol();
if (elide_quotes && has_flags(COMMODITY_STYLE_SEPARATED) &&