diff options
| author | Martin Ridgers <[email protected]> | 2021-09-16 16:45:16 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-16 16:45:16 +0200 |
| commit | fb7eaff9992798ce6706b1fed13569277c60d1bb (patch) | |
| tree | 37a0f023c39e789c8ab79d9ec885136c474c7861 /zencore/filesystem.cpp | |
| parent | There is no need to go to a wstring here as fs::path is already one (diff) | |
| download | zen-fb7eaff9992798ce6706b1fed13569277c60d1bb.tar.xz zen-fb7eaff9992798ce6706b1fed13569277c60d1bb.zip | |
Make sure RootDir argument to formatted-print is a UTF8 string
Diffstat (limited to 'zencore/filesystem.cpp')
| -rw-r--r-- | zencore/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp index ece530474..c58813152 100644 --- a/zencore/filesystem.cpp +++ b/zencore/filesystem.cpp @@ -682,7 +682,7 @@ FileSystemTraversal::TraverseFileSystem(const std::filesystem::path& RootDir, Tr } else if (DirInfo->FileAttributes & FILE_ATTRIBUTE_DEVICE) { - ZEN_WARN("encountered device node during file system traversal: {} found in {}", WideToUtf8(FileName), RootDir); + ZEN_WARN("encountered device node during file system traversal: {} found in {}", WideToUtf8(FileName), WideToUtf8(RootDir.c_str())); } else { |