From 351932d93aab921bf30fa1d1add4eb6bb3272fb6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 10 Oct 2023 23:36:17 +0200 Subject: kill Corrade::Containers forward-declarations They're already forward-declared in `` that's included from the prelude. --- editor/vobj-editor.hpp | 5 ----- floormat/main.hpp | 1 - src/anim-atlas.hpp | 7 ------- src/chunk.hpp | 2 -- src/path-search.hpp | 6 ------ 5 files changed, 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 #include -namespace Corrade::Containers { -template class BasicStringView; -using StringView = BasicStringView; -} // 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 struct SDL_Window; -namespace Corrade::Containers { template 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 #include -namespace Corrade::Containers { -class BitArray; -template class BasicBitArrayView; -typedef BasicBitArrayView BitArrayView; -typedef BasicBitArrayView 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 #include -namespace Corrade::Containers { template 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 #include -namespace Corrade::Containers { -//template class Optional; -//template class Pair; -template class ArrayView; -} // namespace Corrade::Containers - namespace floormat { struct world; -- cgit v1.2.3