Browse Source

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.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
1ef47f48ab
  1. 3
      src/Magnum/TextureTools/Atlas.h

3
src/Magnum/TextureTools/Atlas.h

@ -32,10 +32,11 @@
#include <Corrade/Containers/Pointer.h>
#include "Magnum/Magnum.h"
#include "Magnum/Math/Vector2.h"
#include "Magnum/TextureTools/visibility.h"
#ifdef MAGNUM_BUILD_DEPRECATED
#include "Magnum/Math/Vector2.h"
#include <Corrade/Utility/Macros.h>
#include <Corrade/Utility/StlForwardVector.h>
#endif

Loading…
Cancel
Save