summaryrefslogtreecommitdiffhomepage
path: root/src/tile-image.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-01 21:32:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-01 21:32:10 +0100
commitd7c63cc5cc224df11b95bfd7d36b16f803575bdb (patch)
tree99f42d2a3444e0860d0504d0eaf2c13d507ee3e6 /src/tile-image.cpp
parentaf9e9e64a8dea21868cf3474cda6b8a85ac05442 (diff)
use variant typedef and default value consistently
Diffstat (limited to 'src/tile-image.cpp')
-rw-r--r--src/tile-image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile-image.cpp b/src/tile-image.cpp
index 5d9d9f11..b10effe4 100644
--- a/src/tile-image.cpp
+++ b/src/tile-image.cpp
@@ -9,7 +9,7 @@ bool operator==(const tile_image_proto& a, const tile_image_proto& b) noexcept
tile_image_proto::operator bool() const noexcept { return atlas != nullptr; }
-tile_image_ref::tile_image_ref(std::shared_ptr<tile_atlas>& atlas, std::uint16_t& variant) noexcept :
+tile_image_ref::tile_image_ref(std::shared_ptr<tile_atlas>& atlas, variant_t& variant) noexcept :
atlas{atlas}, variant{variant}
{
}