From 3ac6f84d76a010b1eea5f7c863552f908e796775 Mon Sep 17 00:00:00 2001 From: fpetrini15 Date: Wed, 6 Nov 2024 09:34:18 -0800 Subject: [PATCH] Add 'const' --- src/filesystem/implementations/local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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