diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/convto.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <class T> inline std::string ConvToStr(const T& in) |