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/tile-image.cpp | |
parent | 6aabc74a535da1f2d5cf866346b31939d097cbac (diff) |
wa
Diffstat (limited to 'src/tile-image.cpp')
-rw-r--r-- | src/tile-image.cpp | 3 |
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} {} |