summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/CreateFilePath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/CurrencyRates/src/CreateFilePath.cpp')
-rw-r--r--protocols/CurrencyRates/src/CreateFilePath.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/CurrencyRates/src/CreateFilePath.cpp b/protocols/CurrencyRates/src/CreateFilePath.cpp
index 71490432a9..04621eca64 100644
--- a/protocols/CurrencyRates/src/CreateFilePath.cpp
+++ b/protocols/CurrencyRates/src/CreateFilePath.cpp
@@ -1,6 +1,6 @@
#include "StdAfx.h"
-tstring CreateFilePath(const tstring &rsName)
+std::wstring CreateFilePath(const std::wstring &rsName)
{
wchar_t szPath[_MAX_PATH];
::GetModuleFileName(g_plugin.getInst(), szPath, _MAX_PATH);
@@ -9,9 +9,9 @@ tstring CreateFilePath(const tstring &rsName)
if (p)
*p = 0;
- tstring s(rsName);
+ std::wstring s(rsName);
FixInvalidChars(s);
- tostringstream o;
+ std::wostringstream o;
o << szPath << L"\\CurrencyRates\\" << s;
return o.str();
} \ No newline at end of file