From f7ae14dbb95bedd25b7d75dc590da2a9c738ec57 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 5 May 2017 20:39:03 +0000 Subject: [PATCH] Fix remaining GCC 7 build warnings llvm-svn: 302283 --- libcxx/src/experimental/filesystem/operations.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/src/experimental/filesystem/operations.cpp b/libcxx/src/experimental/filesystem/operations.cpp index bd76858..2856ae45 100644 --- a/libcxx/src/experimental/filesystem/operations.cpp +++ b/libcxx/src/experimental/filesystem/operations.cpp @@ -513,8 +513,8 @@ bool checked_set(CType* out, ChronoType time) { return true; } -using TimeSpec = struct ::timespec; -using StatT = struct ::stat; +using TimeSpec = struct timespec; +using StatT = struct stat; #if defined(__APPLE__) TimeSpec extract_mtime(StatT const& st) { return st.st_mtimespec; } -- 2.7.4