[libcxx] r302283 - Fix remaining GCC 7 build warnings

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Fri May 5 13:39:03 PDT 2017


Author: ericwf
Date: Fri May  5 15:39:03 2017
New Revision: 302283

URL: http://llvm.org/viewvc/llvm-project?rev=302283&view=rev
Log:
Fix remaining GCC 7 build warnings

Modified:
    libcxx/trunk/src/experimental/filesystem/operations.cpp

Modified: libcxx/trunk/src/experimental/filesystem/operations.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/experimental/filesystem/operations.cpp?rev=302283&r1=302282&r2=302283&view=diff
==============================================================================
--- libcxx/trunk/src/experimental/filesystem/operations.cpp (original)
+++ libcxx/trunk/src/experimental/filesystem/operations.cpp Fri May  5 15:39:03 2017
@@ -513,8 +513,8 @@ bool checked_set(CType* out, ChronoType
     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; }




More information about the cfe-commits mailing list