summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
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, '"');