Skip to content

Commit 9f87468

Browse files
Normalise paths to generic (POSIX) format in FileInfo
1 parent f22a0b2 commit 9f87468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/vfspp/FileInfo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class FileInfo final
9191
private:
9292
void Configure(const std::string& basePath, const std::string& fileName, bool isDir)
9393
{
94-
m_Path = fs::path(basePath) / fs::path(fileName);
94+
m_Path = (fs::path(basePath) / fs::path(fileName)).generic_string();
9595
m_IsDir = isDir;
9696
}
9797

0 commit comments

Comments
 (0)