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-atlas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loader/anim-atlas.cpp') diff --git a/loader/anim-atlas.cpp b/loader/anim-atlas.cpp index 76a656e4..cfbe7245 100644 --- a/loader/anim-atlas.cpp +++ b/loader/anim-atlas.cpp @@ -2,13 +2,13 @@ #include "atlas-loader.inl" #include "anim-cell.hpp" #include "anim-traits.hpp" -#include "compat/exception.hpp" +#include "compat/borrowed-ptr.inl" namespace floormat::loader_detail { template class atlas_loader; -std::shared_ptr loader_impl::get_anim_atlas(StringView path) noexcept(false) +bptr loader_impl::get_anim_atlas(StringView path) noexcept(false) { return _anim_loader->make_atlas(path, {}); } @@ -23,7 +23,7 @@ ArrayView loader_impl::anim_atlas_list() return _anim_loader->atlas_list(); } -std::shared_ptr loader_impl::anim_atlas(StringView name, StringView dir, loader_policy p) noexcept(false) +bptr loader_impl::anim_atlas(StringView name, StringView dir, loader_policy p) noexcept(false) { char buf[fm_FILENAME_MAX]; auto path = make_atlas_path(buf, dir, name); -- cgit v1.2.3