From 5d72fcdc89f7212b124c63cced221fde539cb09a Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 19 May 2022 18:02:35 +0200 Subject: [PATCH] chore: Remove no longer needed workaround for older GCCs --- src/Stat.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.47.2