diff --git a/deps/oxlib/src/fs/src/filesystem/passthroughfs.cpp b/deps/oxlib/src/fs/src/filesystem/passthroughfs.cpp index 63068a7c..4b86c4d7 100644 --- a/deps/oxlib/src/fs/src/filesystem/passthroughfs.cpp +++ b/deps/oxlib/src/fs/src/filesystem/passthroughfs.cpp @@ -31,8 +31,8 @@ Error PassThroughFS::mkdir(StringViewCR path, bool recursive) noexcept { auto const cleanPath = endsWith(path, '/') ? substr(path, 0, path.size() - 1) : path; bool success = false; - auto p = cleanPath.size() ? m_path / stripSlash(cleanPath) : m_path; - const auto u8p = p.u8string(); + auto const p = cleanPath.size() ? m_path / stripSlash(cleanPath) : m_path; + auto const u8p = p.u8string(); oxTrace("ox.fs.PassThroughFS.mkdir", std::bit_cast(u8p.c_str())); if (recursive) { std::error_code ec;