summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-14 11:09:06 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:49 -0400
commit77db7eb92f730af315d4bcdf831cc67acb386b58 (patch)
tree566a413e47d8d9f2f82d257c4ad3988c0a38d919 /src/commodity.cc
parent3cc14c70d47f6f7674b587eb08b9d0e02a90e662 (diff)
downloadfork-ledger-77db7eb92f730af315d4bcdf831cc67acb386b58.tar.gz
fork-ledger-77db7eb92f730af315d4bcdf831cc67acb386b58.tar.bz2
fork-ledger-77db7eb92f730af315d4bcdf831cc67acb386b58.zip
Added initial support for using builders from the various parsers; at the moment is just uses the xml_writer_t builder to output the contents of the ledger journal as XML
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 9eaa3ad8..4cc38e06 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -186,7 +186,7 @@ void commodity_t::parse_symbol(std::istream& in, string& symbol)
symbol = buf;
}
-void commodity_t::parse_symbol(const char *& p, string& symbol)
+void commodity_t::parse_symbol(char *& p, string& symbol)
{
if (*p == '"') {
char * q = std::strchr(p + 1, '"');