Skip to content

Commit

Permalink
Add 'const'
Browse files Browse the repository at this point in the history
  • Loading branch information
fpetrini15 committed Nov 6, 2024
1 parent d8d80c6 commit 2b3dd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend_common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ GetOSValidPath(const std::string& path, std::string& ret_path)
{
std::string l_path(path);
#ifdef _WIN32
constexpr const char* kWindowsLongPathPrefix = "\\\\?\\";
constexpr const const char* kWindowsLongPathPrefix = "\\\\?\\";
// On Windows long paths must be marked correctly otherwise, due to backwards
// compatibility, all paths are limited to MAX_PATH length
if (l_path.size() >= MAX_PATH) {
Expand Down

0 comments on commit 2b3dd6c

Please sign in to comment.