From 54bfc11620dc18868fce54d218eb2c8555fd32ac Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 29 Oct 2023 19:45:21 -0500 Subject: [PATCH] fix erroneous nodiscard --- CHANGELOG.md | 4 ++-- include/drives/fuse/fuse_drive.hpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbf7fd59..583024e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,8 @@ ### Changes from v2.0.0-rc * Removed MSVC compilation support (MinGW-64 should be used) -* Upgraded `boost` to v1.83.0 -* Upgraded `curl` to v8.4.0 +* Upgraded `boost` to v1.83.0 +* Upgraded `curl` to v8.4.0 * Upgraded `libsodium` to v1.0.19 * Upgraded `rocksdb` to v8.6.7 diff --git a/include/drives/fuse/fuse_drive.hpp b/include/drives/fuse/fuse_drive.hpp index 465b50e2..fd333499 100644 --- a/include/drives/fuse/fuse_drive.hpp +++ b/include/drives/fuse/fuse_drive.hpp @@ -197,8 +197,7 @@ protected: #ifdef __APPLE__ [[nodiscard]] auto getxattr_impl(std::string api_path, const char *name, - char *value, size_t size, - [[nodiscard]] uint32_t position, + char *value, size_t size, uint32_t position, int &attribute_size) -> api_error override; #else // __APPLE__ [[nodiscard]] auto getxattr_impl(std::string api_path, const char *name,