Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some include directives for unused headers #1849

Merged
merged 1 commit into from
Nov 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/X11/X11.cpp
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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