aboutsummaryrefslogtreecommitdiffstats
path: root/src/experimental/filesystem/operations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/experimental/filesystem/operations.cpp')
-rw-r--r--src/experimental/filesystem/operations.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/experimental/filesystem/operations.cpp b/src/experimental/filesystem/operations.cpp
index 1a514545cec5..662fa7b8626a 100644
--- a/src/experimental/filesystem/operations.cpp
+++ b/src/experimental/filesystem/operations.cpp
@@ -512,6 +512,7 @@ using StatT = struct stat;
#if defined(__APPLE__)
TimeSpec extract_mtime(StatT const& st) { return st.st_mtimespec; }
+__attribute__((unused)) // Suppress warning
TimeSpec extract_atime(StatT const& st) { return st.st_atimespec; }
#else
TimeSpec extract_mtime(StatT const& st) { return st.st_mtim; }