From 1d0649f69385f59ac3cd367a95ee2d71f77615f0 Mon Sep 17 00:00:00 2001 From: Florian Reimold <11774314+FlorianReimold@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:44:20 +0100 Subject: [PATCH] Fixed compile issue on Ubuntu --- fineftp-server/src/filesystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fineftp-server/src/filesystem.cpp b/fineftp-server/src/filesystem.cpp index 8feb9b8..afcfbe1 100644 --- a/fineftp-server/src/filesystem.cpp +++ b/fineftp-server/src/filesystem.cpp @@ -453,13 +453,13 @@ namespace Filesystem std::string cleanPathNative(const std::string& path) { #ifdef WIN32 - constexpr bool windows_path = true; + constexpr bool path_is_windows_path = true; constexpr char separator = '\\'; #else // WIN32 constexpr bool path_is_windows_path = false; constexpr char separator = '/'; #endif // WIN32 - return cleanPath(path, windows_path, separator); + return cleanPath(path, path_is_windows_path, separator); } }