summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-27 01:45:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-27 01:45:46 +0100
commita93d597ca768fa809a0c5a8ffd8ab156990b2e73 (patch)
tree6769c7329c0460fee24ac8452fa2585ec35af85b
parent57d4f54f5022bc054599e6bd0a83bcf6997b4d20 (diff)
src: forward-declare BitArrayView
-rw-r--r--src/anim-atlas.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp
index e58f90b6..d8105813 100644
--- a/src/anim-atlas.hpp
+++ b/src/anim-atlas.hpp
@@ -4,12 +4,18 @@
#include "anim.hpp"
#include <array>
#include <Corrade/Containers/BitArray.h>
-#include <Corrade/Containers/BitArrayView.h>
#include <Corrade/Containers/String.h>
#include <Magnum/Math/Vector2.h>
#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