diff options
Diffstat (limited to 'loader/wall-traits.hpp')
-rw-r--r-- | loader/wall-traits.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/loader/wall-traits.hpp b/loader/wall-traits.hpp index 9233cb97..587555ef 100644 --- a/loader/wall-traits.hpp +++ b/loader/wall-traits.hpp @@ -1,6 +1,6 @@ #pragma once #include "atlas-loader-fwd.hpp" -#include <memory> +#include "compat/borrowed-ptr.hpp" namespace floormat { struct wall_cell; class wall_atlas; } @@ -14,13 +14,13 @@ template<> struct atlas_loader_traits<wall_atlas> using Storage = atlas_storage<wall_atlas, Self>; static StringView loader_name(); - static const std::shared_ptr<Atlas>& atlas_of(const Cell& x); - static std::shared_ptr<Atlas>& atlas_of(Cell& x); + static const bptr<Atlas>& atlas_of(const Cell& x); + static bptr<Atlas>& 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<Atlas> make_atlas(StringView name, const Cell& c); + static bptr<Atlas> make_atlas(StringView name, const Cell& c); static Optional<Cell> make_cell(StringView name); }; |