diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 3 | ||||
-rw-r--r-- | include/inspircd.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/configreader.h b/include/configreader.h index e8c439933..7bc6c1bcb 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -83,8 +83,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/include/inspircd.h b/include/inspircd.h index d69d1b46b..7a8c1fb74 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -132,7 +132,7 @@ inline std::string ConvToStr(const bool in) */ inline std::string ConvToStr(char in) { - return std::string(in,1); + return std::string(1, in); } /** Template function to convert any input type to std::string |