From 47b9691f9bde62ea62f6601503997d93ed7ab64c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 Jul 2024 12:27:46 +0200 Subject: wa --- loader/anim-traits.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'loader/anim-traits.hpp') diff --git a/loader/anim-traits.hpp b/loader/anim-traits.hpp index 517a3097..85c71612 100644 --- a/loader/anim-traits.hpp +++ b/loader/anim-traits.hpp @@ -1,6 +1,6 @@ #pragma once #include "atlas-loader-fwd.hpp" -#include +#include "compat/borrowed-ptr.hpp" #include namespace floormat { struct anim_cell; class anim_atlas; } @@ -15,13 +15,13 @@ template<> struct atlas_loader_traits using Storage = atlas_storage; static StringView loader_name(); - static const std::shared_ptr& atlas_of(const Cell& x); - static std::shared_ptr& atlas_of(Cell& x); + static const bptr& atlas_of(const Cell& x); + static bptr& atlas_of(Cell& x); static StringView name_of(const Cell& x); static String& name_of(Cell& x); static void atlas_list(Storage& st); static Cell make_invalid_atlas(Storage& st); - static std::shared_ptr make_atlas(StringView name, const Cell& c); + static bptr make_atlas(StringView name, const Cell& c); static Optional make_cell(StringView name); }; -- cgit v1.2.3