From 56784e198b0c6ef2eaf02fb98beb5427ccbe528d Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 23 Sep 2023 21:48:48 -0600 Subject: [PATCH] Remove header include cycles --- .clang-tidy | 1 - src/SFML/Window/Unix/JoystickImpl.hpp | 2 -- src/SFML/Window/Win32/JoystickImpl.hpp | 3 --- src/SFML/Window/iOS/JoystickImpl.hpp | 5 ----- src/SFML/Window/macOS/JoystickImpl.hpp | 2 -- 5 files changed, 13 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index a801a43cd..f7ce86b2e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -25,7 +25,6 @@ Checks: > -clang-analyzer-optin.osx.*, -clang-analyzer-osx.*, -clang-analyzer-unix.Malloc, - -misc-header-include-cycle, -misc-include-cleaner, -misc-misplaced-const, -misc-no-recursion, diff --git a/src/SFML/Window/Unix/JoystickImpl.hpp b/src/SFML/Window/Unix/JoystickImpl.hpp index f2aa40d59..8ca30c3f9 100644 --- a/src/SFML/Window/Unix/JoystickImpl.hpp +++ b/src/SFML/Window/Unix/JoystickImpl.hpp @@ -27,8 +27,6 @@ //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// -#include - #include diff --git a/src/SFML/Window/Win32/JoystickImpl.hpp b/src/SFML/Window/Win32/JoystickImpl.hpp index a3d01ebdb..ba570350b 100644 --- a/src/SFML/Window/Win32/JoystickImpl.hpp +++ b/src/SFML/Window/Win32/JoystickImpl.hpp @@ -27,9 +27,6 @@ //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// -#include -#include - #include #include diff --git a/src/SFML/Window/iOS/JoystickImpl.hpp b/src/SFML/Window/iOS/JoystickImpl.hpp index a95874a2b..fe0e22b2f 100644 --- a/src/SFML/Window/iOS/JoystickImpl.hpp +++ b/src/SFML/Window/iOS/JoystickImpl.hpp @@ -24,11 +24,6 @@ #pragma once -//////////////////////////////////////////////////////////// -// Headers -//////////////////////////////////////////////////////////// -#include - namespace sf::priv { diff --git a/src/SFML/Window/macOS/JoystickImpl.hpp b/src/SFML/Window/macOS/JoystickImpl.hpp index 21035f81c..5e0bd5ecb 100644 --- a/src/SFML/Window/macOS/JoystickImpl.hpp +++ b/src/SFML/Window/macOS/JoystickImpl.hpp @@ -28,8 +28,6 @@ //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// -#include - #include #include #include