Skip to content

Commit

Permalink
Remove include directives for unused headers
Browse files Browse the repository at this point in the history
  • Loading branch information
vittorioromeo authored and eXpl0it3r committed Nov 21, 2021
1 parent c21e842 commit dc88cbd
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion examples/X11/X11.cpp
Expand Up @@ -3,7 +3,6 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window.hpp>
#include <SFML/System/Err.hpp>

#define GLAD_GL_IMPLEMENTATION
#include "gl.h"
Expand Down
2 changes: 0 additions & 2 deletions include/SFML/Graphics/Font.hpp
Expand Up @@ -32,8 +32,6 @@
#include <SFML/Graphics/Glyph.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/Graphics/Rect.hpp>
#include <SFML/System/Vector2.hpp>
#include <SFML/System/String.hpp>
#include <map>
#include <string>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion src/SFML/Graphics/RenderTextureImplDefault.cpp
Expand Up @@ -29,7 +29,6 @@
#include <SFML/Graphics/GLCheck.hpp>
#include <SFML/Graphics/TextureSaver.hpp>
#include <SFML/Window/Context.hpp>
#include <SFML/System/Err.hpp>


namespace sf
Expand Down
1 change: 0 additions & 1 deletion src/SFML/Graphics/Shape.cpp
Expand Up @@ -28,7 +28,6 @@
#include <SFML/Graphics/Shape.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/System/Err.hpp>
#include <cmath>


Expand Down
1 change: 0 additions & 1 deletion src/SFML/Window/FreeBSD/JoystickImpl.cpp
Expand Up @@ -27,7 +27,6 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/JoystickImpl.hpp>
#include <SFML/System/Err.hpp>
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
Expand Down
1 change: 0 additions & 1 deletion src/SFML/Window/JoystickImpl.hpp
Expand Up @@ -30,7 +30,6 @@
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include <SFML/Window/Joystick.hpp>
#include <SFML/System/String.hpp>
#include <algorithm>


Expand Down
1 change: 0 additions & 1 deletion src/SFML/Window/NetBSD/JoystickImpl.cpp
Expand Up @@ -27,7 +27,6 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/JoystickImpl.hpp>
#include <SFML/System/Err.hpp>
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
Expand Down
1 change: 0 additions & 1 deletion src/SFML/Window/Unix/InputImpl.cpp
Expand Up @@ -28,7 +28,6 @@
#include <SFML/Window/Window.hpp> // important to be included first (conflict with None)
#include <SFML/Window/Unix/InputImpl.hpp>
#include <SFML/Window/Unix/Display.hpp>
#include <SFML/System/Err.hpp>
#include <X11/Xlib.h>
#include <X11/keysym.h>

Expand Down
1 change: 0 additions & 1 deletion src/SFML/Window/Win32/JoystickImpl.hpp
Expand Up @@ -39,7 +39,6 @@
#define DIRECTINPUT_VERSION 0x0800
#include <SFML/Window/Joystick.hpp>
#include <SFML/Window/JoystickImpl.hpp>
#include <SFML/System/String.hpp>
#include <windows.h>
#include <mmsystem.h>
#include <dinput.h>
Expand Down

0 comments on commit dc88cbd

Please sign in to comment.