diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-02-01 21:03:17 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-02-01 21:03:17 +0300 |
commit | 669e0b45bbc60cf4d46a72559710d428f2863740 (patch) | |
tree | b710ab9dbe82e8a960ed5653d8c6821f8324cd5d | |
parent | 7db82bbda95eabc1a90c029fabc9e435237df5a4 (diff) |
Stop warning from to_win32_path() on POSIX.
-rw-r--r-- | include/llfio/v2.0/fs_handle.hpp | 2 |
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: |