From 9536b4fb1f653fb4e10dd84f1569f5d5d732795f Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sun, 19 Jun 2022 14:26:19 +0200 Subject: [PATCH] refactor: Remove now unneeded defines of nodiscard and maybe_unused --- cmake/config.h.in | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmake/config.h.in b/cmake/config.h.in index bbc1397f5..9e014303c 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -193,12 +193,6 @@ typedef int pid_t; # endif // _MSC_VER #endif // _WIN32 -// GCC version of a couple of standard C++ attributes. -#ifdef __GNUC__ -# define nodiscard gnu::warn_unused_result -# define maybe_unused gnu::unused -#endif - // O_BINARY is needed when reading binary data on Windows, so use it everywhere // with a compatibility define for Unix platforms. #if !defined(_WIN32) && !defined(O_BINARY) -- 2.47.3