]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Remove no longer needed workaround for older GCCs
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 19 May 2022 16:02:35 +0000 (18:02 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 23 May 2022 17:16:30 +0000 (19:16 +0200)
src/Stat.hpp

index 47a0854811ce3f9336a4fb487ba6fa1578418150..45edc7dd38c6c811451a77d2bb9c5ad562326743 100644 (file)
@@ -85,9 +85,7 @@ public:
     uint32_t st_reparse_tag;
   };
 #else
-  // Use of typedef needed to suppress a spurious 'declaration does not declare
-  // anything' warning in old GCC.
-  typedef struct ::stat stat_t; // NOLINT(modernize-use-using)
+  using stat_t = struct stat;
 #endif
 
   using dev_t = decltype(stat_t{}.st_dev);