diff --git a/src/windows-emulator/file_system.hpp b/src/windows-emulator/file_system.hpp index 9cd9f4e9..ce2d33d0 100644 --- a/src/windows-emulator/file_system.hpp +++ b/src/windows-emulator/file_system.hpp @@ -44,7 +44,7 @@ class file_system #endif const char root_drive[2] = {win_path.get_drive().value_or('c'), 0}; - const auto root = this->root_ / root_drive; + auto root = this->root_ / root_drive; auto path = this->root_ / win_path.to_portable_path(); path = weakly_canonical(path);