summaryrefslogtreecommitdiff
path: root/src/configparser.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-03-23 15:59:41 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-29 22:19:49 +0200
commit01e216f82e24e7668a892e5a912ccbf1369ae255 (patch)
treec5e8775db8ba1626a3268c96bac993282bd4ebf5 /src/configparser.h
parent0930fdc014bf36fb9e2715b3d14bff5fedf354a9 (diff)
Make attr a const ref.
Diffstat (limited to 'src/configparser.h')
-rw-r--r--src/configparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.h b/src/configparser.h
index 1e8aa56..b8bde05 100644
--- a/src/configparser.h
+++ b/src/configparser.h
@@ -37,7 +37,7 @@ public:
ConfigParser();
void characterData(const std::string& data) override;
- void startTag(const std::string& name, attr_t& attr) override;
+ void startTag(const std::string& name, const attr_t& attr) override;
void endTag(const std::string& name) override;
std::string value(const std::string& name, const std::string& def = "");