diff --git a/src/filesystem/implementations/local.h b/src/filesystem/implementations/local.h index b570da7fe..d97725436 100644 --- a/src/filesystem/implementations/local.h +++ b/src/filesystem/implementations/local.h @@ -63,7 +63,7 @@ class LocalFileSystem : public FileSystem { private: inline std::string GetOSValidPath(const std::string& path); - static constexpr char* kWindowsLongPathPrefix = "\\\\?\\"; + static constexpr const char* kWindowsLongPathPrefix = "\\\\?\\"; }; //! Converts incoming utf-8 path to an OS valid path