Skip to content

Commit

Permalink
Merge pull request #90 from OutpostUniverse/FixWarnings
Browse files Browse the repository at this point in the history
Use conversion function to eliminate warnings
  • Loading branch information
ldicker83 authored Jun 28, 2023
2 parents f94af52 + 45f7992 commit 075f515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OP2-Landlord/FileIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ FileIo::FileIo(SDL_Window& window) :
CoTaskMemFree(path);
#endif

std::wstring separatorWchar(1, std::filesystem::path::preferred_separator);
mPathSeparator = std::string(separatorWchar.begin(), separatorWchar.end());
const std::wstring separatorWchar(1, std::filesystem::path::preferred_separator);
mPathSeparator = StringFromWString(separatorWchar);
}


Expand Down

0 comments on commit 075f515

Please sign in to comment.