From dc88cbd81e44ad8bb3370d8cae4c5600627f47c7 Mon Sep 17 00:00:00 2001 From: Vittorio Romeo Date: Sun, 21 Nov 2021 00:29:09 +0000 Subject: [PATCH] Remove include directives for unused headers --- examples/X11/X11.cpp | 1 - include/SFML/Graphics/Font.hpp | 2 -- src/SFML/Graphics/RenderTextureImplDefault.cpp | 1 - src/SFML/Graphics/Shape.cpp | 1 - src/SFML/Window/FreeBSD/JoystickImpl.cpp | 1 - src/SFML/Window/JoystickImpl.hpp | 1 - src/SFML/Window/NetBSD/JoystickImpl.cpp | 1 - src/SFML/Window/Unix/InputImpl.cpp | 1 - src/SFML/Window/Win32/JoystickImpl.hpp | 1 - 9 files changed, 10 deletions(-) diff --git a/examples/X11/X11.cpp b/examples/X11/X11.cpp index 9fd06f63..08ab24c1 100644 --- a/examples/X11/X11.cpp +++ b/examples/X11/X11.cpp @@ -3,7 +3,6 @@ // Headers //////////////////////////////////////////////////////////// #include -#include #define GLAD_GL_IMPLEMENTATION #include "gl.h" diff --git a/include/SFML/Graphics/Font.hpp b/include/SFML/Graphics/Font.hpp index f5e1d9b6..8d47ae8c 100644 --- a/include/SFML/Graphics/Font.hpp +++ b/include/SFML/Graphics/Font.hpp @@ -32,8 +32,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/src/SFML/Graphics/RenderTextureImplDefault.cpp b/src/SFML/Graphics/RenderTextureImplDefault.cpp index c3a700e3..17d9cf86 100644 --- a/src/SFML/Graphics/RenderTextureImplDefault.cpp +++ b/src/SFML/Graphics/RenderTextureImplDefault.cpp @@ -29,7 +29,6 @@ #include #include #include -#include namespace sf diff --git a/src/SFML/Graphics/Shape.cpp b/src/SFML/Graphics/Shape.cpp index ccf3ddf3..50a7ab04 100644 --- a/src/SFML/Graphics/Shape.cpp +++ b/src/SFML/Graphics/Shape.cpp @@ -28,7 +28,6 @@ #include #include #include -#include #include diff --git a/src/SFML/Window/FreeBSD/JoystickImpl.cpp b/src/SFML/Window/FreeBSD/JoystickImpl.cpp index 28f44c3c..22c78eac 100644 --- a/src/SFML/Window/FreeBSD/JoystickImpl.cpp +++ b/src/SFML/Window/FreeBSD/JoystickImpl.cpp @@ -27,7 +27,6 @@ // Headers //////////////////////////////////////////////////////////// #include -#include #include #include #include diff --git a/src/SFML/Window/JoystickImpl.hpp b/src/SFML/Window/JoystickImpl.hpp index 7bc2a231..2c0b6ffa 100644 --- a/src/SFML/Window/JoystickImpl.hpp +++ b/src/SFML/Window/JoystickImpl.hpp @@ -30,7 +30,6 @@ //////////////////////////////////////////////////////////// #include #include -#include #include diff --git a/src/SFML/Window/NetBSD/JoystickImpl.cpp b/src/SFML/Window/NetBSD/JoystickImpl.cpp index ed8a9ead..b9b38994 100644 --- a/src/SFML/Window/NetBSD/JoystickImpl.cpp +++ b/src/SFML/Window/NetBSD/JoystickImpl.cpp @@ -27,7 +27,6 @@ // Headers //////////////////////////////////////////////////////////// #include -#include #include #include #include diff --git a/src/SFML/Window/Unix/InputImpl.cpp b/src/SFML/Window/Unix/InputImpl.cpp index f404d6e0..fd48bca1 100644 --- a/src/SFML/Window/Unix/InputImpl.cpp +++ b/src/SFML/Window/Unix/InputImpl.cpp @@ -28,7 +28,6 @@ #include // important to be included first (conflict with None) #include #include -#include #include #include diff --git a/src/SFML/Window/Win32/JoystickImpl.hpp b/src/SFML/Window/Win32/JoystickImpl.hpp index d2111dc8..3377a9b9 100644 --- a/src/SFML/Window/Win32/JoystickImpl.hpp +++ b/src/SFML/Window/Win32/JoystickImpl.hpp @@ -39,7 +39,6 @@ #define DIRECTINPUT_VERSION 0x0800 #include #include -#include #include #include #include