]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add no-op ConvToStr(const std::string&)
authorAttila Molnar <attilamolnar@hush.com>
Thu, 25 Feb 2016 14:18:39 +0000 (15:18 +0100)
committerAttila Molnar <attilamolnar@hush.com>
Thu, 25 Feb 2016 14:18:39 +0000 (15:18 +0100)
include/convto.h

index 82f13c46dc8b592fc894f735e425e03757b229cb..eaf14f6dc549972faa951fe437b58123e78148bc 100644 (file)
@@ -74,6 +74,11 @@ inline std::string ConvToStr(char in)
        return std::string(1, in);
 }
 
+inline const std::string& ConvToStr(const std::string& in)
+{
+       return in;
+}
+
 /** Template function to convert any input type to std::string
  */
 template <class T> inline std::string ConvToStr(const T& in)