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

github.com/ned14/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>2022-05-10 23:07:18 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2022-05-10 23:07:18 +0300
commit8a3afb1295fb16ff79af05dac02bac97a5d9aa0d (patch)
treea14a4c0fcc0eaf85877abf822f21e2a41f4f0e66
parentd06bf6d6c2e1a23fb9eee3cb0c1056abc52de471 (diff)
Fix duplicate symbol error on Windows for fs_handle::win_get_extended_attributes et al.
-rw-r--r--include/llfio/v2.0/fs_handle.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llfio/v2.0/fs_handle.hpp b/include/llfio/v2.0/fs_handle.hpp
index 09446854..d8e0c091 100644
--- a/include/llfio/v2.0/fs_handle.hpp
+++ b/include/llfio/v2.0/fs_handle.hpp
@@ -486,12 +486,13 @@ public:
#ifdef _WIN32
//! Windows only: List all the NTFS extended attributes on a file. See the documentation for `set_extended_attribute()` before use.
- result<span<std::pair<path_view_component, span<byte>>>> win_list_extended_attributes(span<byte> tofill) noexcept;
+ LLFIO_HEADERS_ONLY_MEMFUNC_SPEC result<span<std::pair<path_view_component, span<byte>>>> win_list_extended_attributes(span<byte> tofill) noexcept;
//! Windows only: Get the values of NTFS extended attributes on a file. See the documentation for `set_extended_attribute()` before use.
- result<span<std::pair<path_view_component, span<byte>>>> win_get_extended_attributes(span<byte> tofill, span<const path_view_component> names) noexcept;
+ LLFIO_HEADERS_ONLY_MEMFUNC_SPEC result<span<std::pair<path_view_component, span<byte>>>>
+ win_get_extended_attributes(span<byte> tofill, span<const path_view_component> names) noexcept;
//! Windows only: Set the values of a NTFS extended attributes on a file. See the documentation for `set_extended_attribute()` before use. In particular, note
//! the requirement that you can only _extend_ the attributes list i.e. you must always set whatever the list is already, with additional members.
- result<void> win_set_extended_attributes(span<std::pair<const path_view_component, span<const byte>>> toset) noexcept;
+ LLFIO_HEADERS_ONLY_MEMFUNC_SPEC result<void> win_set_extended_attributes(span<std::pair<const path_view_component, span<const byte>>> toset) noexcept;
#endif
};