Skip to content

Commit

Permalink
Added a TODO message about returning wstring for file operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Mackay committed Apr 11, 2017
1 parent 74f27d9 commit eb55131
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/boinc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eb55131

Please sign in to comment.