summaryrefslogtreecommitdiffhomepage
path: root/src/tile-image.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-16 12:27:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-16 12:27:46 +0200
commit47b9691f9bde62ea62f6601503997d93ed7ab64c (patch)
treef0e08b4f37ced066ac18defdf233eec0e91b6cc0 /src/tile-image.cpp
parent6aabc74a535da1f2d5cf866346b31939d097cbac (diff)
wa
Diffstat (limited to 'src/tile-image.cpp')
-rw-r--r--src/tile-image.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tile-image.cpp b/src/tile-image.cpp
index e2d84461..20ab4098 100644
--- a/src/tile-image.cpp
+++ b/src/tile-image.cpp
@@ -1,4 +1,5 @@
#include "tile-image.hpp"
+#include "compat/borrowed-ptr.inl"
namespace floormat {
@@ -17,7 +18,7 @@ image_ref_<Atlas, Proto>::image_ref_(const image_ref_<Atlas, Proto>& o) noexcept
{}
template<typename Atlas, typename Proto>
-image_ref_<Atlas, Proto>::image_ref_(std::shared_ptr<Atlas>& atlas, variant_t& variant) noexcept
+image_ref_<Atlas, Proto>::image_ref_(bptr<Atlas>& atlas, variant_t& variant) noexcept
: atlas{atlas}, variant{variant}
{}