From eb5513174e4c2206df6e92949b5e1e59e1117bab Mon Sep 17 00:00:00 2001 From: Tony Mackay Date: Tue, 11 Apr 2017 17:58:53 +0100 Subject: [PATCH] Added a TODO message about returning wstring for file operations. --- src/boinc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boinc.cpp b/src/boinc.cpp index 4787aa5d27..2686e3c6cc 100644 --- a/src/boinc.cpp +++ b/src/boinc.cpp @@ -33,6 +33,7 @@ std::string GetBoincDataDir(){ &dwSize) == ERROR_SUCCESS){ RegCloseKey(hKey); std::wstring wsPath = szPath; + // TODO: Use and return wstring when all file operations use unicode std::string path(wsPath.begin(),wsPath.end()); if (boost::filesystem::exists(path)){ return path;