Skip to content

Commit 74a82f6

Browse files
Merge pull request nextgeniuspro#14 from Finn-Else-McCormick-Abertay/normalise-paths
Normalise paths to generic format
2 parents f22a0b2 + 9f87468 commit 74a82f6

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)