From 810ddfb91ac24f23234fff9bbee6a757df123234 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 25 Feb 2016 15:18:39 +0100 Subject: [PATCH] Add no-op ConvToStr(const std::string&) --- include/convto.h | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.2