From: Joel Rosdahl Date: Thu, 19 May 2022 16:02:35 +0000 (+0200) Subject: chore: Remove no longer needed workaround for older GCCs X-Git-Tag: v4.7~225 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d72fcdc89f7212b124c63cced221fde539cb09a;p=thirdparty%2Fccache.git chore: Remove no longer needed workaround for older GCCs --- diff --git a/src/Stat.hpp b/src/Stat.hpp index 47a085481..45edc7dd3 100644 --- a/src/Stat.hpp +++ b/src/Stat.hpp @@ -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);