diff options
-rw-r--r-- | include/configreader.h | 3 | ||||
-rw-r--r-- | src/configparser.cpp | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/configreader.h b/include/configreader.h index 09d4e619d..1edacfe13 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -64,8 +64,7 @@ class CoreExport ConfigTag : public refcountbase inline const std::vector<KeyVal>& getItems() const { return items; } /** Create a new ConfigTag, giving access to the private KeyVal item list */ - static ConfigTag* create(const std::string& Tag, const std::string& file, int line, - std::vector<KeyVal>*&items); + static ConfigTag* create(const std::string& Tag, const std::string& file, int line, std::vector<KeyVal>*& Items); private: ConfigTag(const std::string& Tag, const std::string& file, int line); }; diff --git a/src/configparser.cpp b/src/configparser.cpp index 7d9eab651..825dfc966 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -472,10 +472,10 @@ std::string ConfigTag::getTagLocation() return src_name + ":" + ConvToStr(src_line); } -ConfigTag* ConfigTag::create(const std::string& Tag, const std::string& file, int line, std::vector<KeyVal>*&items) +ConfigTag* ConfigTag::create(const std::string& Tag, const std::string& file, int line, std::vector<KeyVal>*& Items) { ConfigTag* rv = new ConfigTag(Tag, file, line); - items = &rv->items; + Items = &rv->items; return rv; } |