diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-02-25 15:18:39 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-02-25 15:18:39 +0100 |
commit | 810ddfb91ac24f23234fff9bbee6a757df123234 (patch) | |
tree | 731009d6678464f7bfabdcef87caf9bd3400f26d /include | |
parent | 8f5a3bb7bc30ef83d529e90e9584229c740af732 (diff) |
Add no-op ConvToStr(const std::string&)
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) |