From 1ef47f48abdf7abcba94b7c849ce690e9b51cc88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 30 Sep 2023 21:00:46 +0200 Subject: [PATCH] TextureTools: no need to include Vector2.h in Atlas.h. While it's needed to call basically any useful function in there, its definition isn't needed to create an instance of the AtlasLandfill class, and that's what mainly matters. --- src/Magnum/TextureTools/Atlas.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Magnum/TextureTools/Atlas.h b/src/Magnum/TextureTools/Atlas.h index 320aec680..2fcacfff2 100644 --- a/src/Magnum/TextureTools/Atlas.h +++ b/src/Magnum/TextureTools/Atlas.h @@ -32,10 +32,11 @@ #include #include "Magnum/Magnum.h" -#include "Magnum/Math/Vector2.h" #include "Magnum/TextureTools/visibility.h" #ifdef MAGNUM_BUILD_DEPRECATED +#include "Magnum/Math/Vector2.h" + #include #include #endif