diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 22:00:01 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 22:00:01 +0200 |
commit | 766909047b6873b5af3f9aa98c6ed8cd53c6cc54 (patch) | |
tree | 3b32bc3035f14c2072fd687e2c9b18b7860c88e0 /src | |
parent | d19a44bcb53cebbee0ae51981f66b93b31cb9dcb (diff) |
a
Diffstat (limited to 'src')
-rw-r--r-- | src/tile-iterator.hpp | 2 | ||||
-rw-r--r-- | src/tile.hpp | 2 | ||||
-rw-r--r-- | src/wall-mesh.hpp | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/tile-iterator.hpp b/src/tile-iterator.hpp index 0cd6d616..3ebb53a2 100644 --- a/src/tile-iterator.hpp +++ b/src/tile-iterator.hpp @@ -66,7 +66,7 @@ namespace std { template<typename Tile> class iterator_traits<Magnum::Examples::basic_tile_iterator<Tile>> { - using T = typename Magnum::Examples::basic_tile_iterator<Tile>::value_type; + using T = Magnum::Examples::basic_tile_iterator<Tile>; public: using difference_type = std::ptrdiff_t; using value_type = T; diff --git a/src/tile.hpp b/src/tile.hpp index b3b57d08..c6d4e73d 100644 --- a/src/tile.hpp +++ b/src/tile.hpp @@ -2,8 +2,6 @@ #include "compat/defs.hpp" #include "compat/assert.hpp" #include "tile-defs.hpp" -#include <Magnum/Magnum.h> -#include <Magnum/Math/Vector3.h> #include <cstdint> #include <memory> diff --git a/src/wall-mesh.hpp b/src/wall-mesh.hpp index bf8c533e..4a4e9615 100644 --- a/src/wall-mesh.hpp +++ b/src/wall-mesh.hpp @@ -3,8 +3,8 @@ #include "tile.hpp" #include <array> #include <Corrade/Containers/ArrayViewStl.h> -#include <Magnum/Magnum.h> #include <Magnum/Math/Vector2.h> +#include <Magnum/Math/Vector3.h> #include <Magnum/GL/Mesh.h> #include <Magnum/GL/Buffer.h> |