Index: src/shared/Utils.cpp |
=================================================================== |
--- a/src/shared/Utils.cpp |
+++ b/src/shared/Utils.cpp |
@@ -130,3 +130,15 @@ |
input.replace(replaceStart, placeholder.length(), replacement); |
} |
} |
+ |
+template <> |
+std::string CreateConstString<std::string>(std::string val) |
+{ |
+ return val; |
+} |
+ |
+template <> |
+std::wstring CreateConstString<std::wstring>(std::string val) |
+{ |
+ return std::wstring(val.begin(), val.end()); |
+} |