diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-10 23:36:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-10 23:36:17 +0200 |
commit | 351932d93aab921bf30fa1d1add4eb6bb3272fb6 (patch) | |
tree | cd3344f5279505095de754aa957e64520534f1d6 | |
parent | 21667ee291f4b8d1c8aff8a41cfbe46299424b44 (diff) |
kill Corrade::Containers forward-declarations
They're already forward-declared in `<Corrade/Containers/Containers.h>`
that's included from the prelude.
-rw-r--r-- | editor/vobj-editor.hpp | 5 | ||||
-rw-r--r-- | floormat/main.hpp | 1 | ||||
-rw-r--r-- | src/anim-atlas.hpp | 7 | ||||
-rw-r--r-- | src/chunk.hpp | 2 | ||||
-rw-r--r-- | src/path-search.hpp | 6 |
5 files changed, 0 insertions, 21 deletions
diff --git a/editor/vobj-editor.hpp b/editor/vobj-editor.hpp index d8477011..e26289d4 100644 --- a/editor/vobj-editor.hpp +++ b/editor/vobj-editor.hpp @@ -5,11 +5,6 @@ #include <map> #include <Corrade/Containers/StringView.h> -namespace Corrade::Containers { -template<typename T> class BasicStringView; -using StringView = BasicStringView<const char>; -} // namespace Corrade::Containers - namespace floormat { struct world; diff --git a/floormat/main.hpp b/floormat/main.hpp index 89d833d3..cf88510a 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -5,7 +5,6 @@ #include <Magnum/Math/Vector2.h> struct SDL_Window; -namespace Corrade::Containers { template<typename T> class ArrayView; } namespace Magnum::Platform { class Sdl2Application; } namespace floormat { diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp index 0a05fe43..39a028ae 100644 --- a/src/anim-atlas.hpp +++ b/src/anim-atlas.hpp @@ -9,13 +9,6 @@ #include <Magnum/ImageView.h> #include <Magnum/GL/Texture.h> -namespace Corrade::Containers { -class BitArray; -template<class> class BasicBitArrayView; -typedef BasicBitArrayView<const char> BitArrayView; -typedef BasicBitArrayView<char> MutableBitArrayView; -} // namespace Corrade::Containers - namespace floormat { struct anim_atlas final diff --git a/src/chunk.hpp b/src/chunk.hpp index 2f537f84..e964fca0 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -9,8 +9,6 @@ #include <Corrade/Containers/Pointer.h> #include <Magnum/GL/Mesh.h> -namespace Corrade::Containers { template<typename T, typename D> class Array; } - namespace floormat { struct anim_atlas; diff --git a/src/path-search.hpp b/src/path-search.hpp index 629cda71..464596a6 100644 --- a/src/path-search.hpp +++ b/src/path-search.hpp @@ -14,12 +14,6 @@ #include <tsl/robin_map.h> #include <tsl/robin_set.h> -namespace Corrade::Containers { -//template<typename T> class Optional; -//template<typename T, typename U> class Pair; -template<typename T> class ArrayView; -} // namespace Corrade::Containers - namespace floormat { struct world; |