Fix remaining GCC 7 build warnings
authorEric Fiselier <eric@efcs.ca>
Fri, 5 May 2017 20:39:03 +0000 (20:39 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 5 May 2017 20:39:03 +0000 (20:39 +0000)
llvm-svn: 302283

libcxx/src/experimental/filesystem/operations.cpp

index bd76858..2856ae4 100644 (file)
@@ -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; }