diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 12:27:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 12:27:46 +0200 |
commit | 47b9691f9bde62ea62f6601503997d93ed7ab64c (patch) | |
tree | f0e08b4f37ced066ac18defdf233eec0e91b6cc0 /src/anim-atlas.hpp | |
parent | 6aabc74a535da1f2d5cf866346b31939d097cbac (diff) |
wa
Diffstat (limited to 'src/anim-atlas.hpp')
-rw-r--r-- | src/anim-atlas.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp index 2803566f..cf9937ba 100644 --- a/src/anim-atlas.hpp +++ b/src/anim-atlas.hpp @@ -3,6 +3,7 @@ #include "rotation.hpp" #include "anim.hpp" #include "src/quads.hpp" +#include "compat/borrowed-ptr.hpp" #include <array> #include <Corrade/Containers/BitArray.h> #include <Corrade/Containers/String.h> @@ -12,7 +13,7 @@ namespace floormat { -class anim_atlas final +class anim_atlas final : public bptr_base { using texcoords = Quads::texcoords; using quad = Quads::quad; @@ -31,7 +32,7 @@ class anim_atlas final public: anim_atlas() noexcept; anim_atlas(String name, const ImageView2D& tex, anim_def info); - ~anim_atlas() noexcept; + ~anim_atlas() noexcept override; anim_atlas(anim_atlas&&) noexcept; anim_atlas& operator=(anim_atlas&&) noexcept; |