X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconvto.h;h=eaf14f6dc549972faa951fe437b58123e78148bc;hb=7f7ffef3b4d5dc6242918a48713d6fab96928a80;hp=82f13c46dc8b592fc894f735e425e03757b229cb;hpb=8f5a3bb7bc30ef83d529e90e9584229c740af732;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/convto.h b/include/convto.h index 82f13c46d..eaf14f6dc 100644 --- a/include/convto.h +++ b/include/convto.h @@ -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 inline std::string ConvToStr(const T& in)