Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-02-01 21:03:17 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-02-01 21:03:17 +0300
commit669e0b45bbc60cf4d46a72559710d428f2863740 (patch)
treeb710ab9dbe82e8a960ed5653d8c6821f8324cd5d
parent7db82bbda95eabc1a90c029fabc9e435237df5a4 (diff)
Stop warning from to_win32_path() on POSIX.
-rw-r--r--include/llfio/v2.0/fs_handle.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/fs_handle.hpp b/include/llfio/v2.0/fs_handle.hpp
index 6b0b9aeb..8700a87b 100644
--- a/include/llfio/v2.0/fs_handle.hpp
+++ b/include/llfio/v2.0/fs_handle.hpp
@@ -134,7 +134,7 @@ class LLFIO_DECL fs_handle
#ifdef _WIN32
friend LLFIO_HEADERS_ONLY_FUNC_SPEC result<filesystem::path> to_win32_path(const fs_handle &h, win32_path_namespace mapping) noexcept;
#else
- friend inline result<filesystem::path> to_win32_path(const fs_handle &h, win32_path_namespace mapping) noexcept { return h._get_handle().current_path(); }
+ friend inline result<filesystem::path> to_win32_path(const fs_handle &h, win32_path_namespace /*unused*/) noexcept { return h._get_handle().current_path(); }
#endif
public: