diff --git a/src/libs/utils/filepath.cpp b/src/libs/utils/filepath.cpp index 13a1948c6b8..db8008182f5 100644 --- a/src/libs/utils/filepath.cpp +++ b/src/libs/utils/filepath.cpp @@ -981,7 +981,7 @@ void FilePath::setFromString(QStringView fileNameView) setParts({}, {}, fileNameView); } -expected_str getFileAccess(const FilePath &filePath) +static expected_str getFileAccess(const FilePath &filePath) { if (!filePath.needsDevice()) return DesktopDeviceFileAccess::instance();