From d202f753edadd6ededdec700446a2e34b548dd55 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 7 Jan 2023 14:19:13 -0700 Subject: [PATCH] Add clang-tidy modernize-deprecated-headers check --- .clang-tidy | 1 + src/SFML/Window/OSX/SFContext.mm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 34718be35..54a2e4501 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -2,6 +2,7 @@ Checks: > -*, clang-analyzer-*, modernize-concat-nested-namespaces, + modernize-deprecated-headers, modernize-loop-convert, modernize-use-equals-default, modernize-use-equals-delete, diff --git a/src/SFML/Window/OSX/SFContext.mm b/src/SFML/Window/OSX/SFContext.mm index d9909c6a5..8579436d8 100644 --- a/src/SFML/Window/OSX/SFContext.mm +++ b/src/SFML/Window/OSX/SFContext.mm @@ -33,7 +33,6 @@ #include #include -#include #pragma GCC diagnostic ignored "-Wdeprecated-declarations"