diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 21:32:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 21:32:10 +0100 |
commit | d7c63cc5cc224df11b95bfd7d36b16f803575bdb (patch) | |
tree | 99f42d2a3444e0860d0504d0eaf2c13d507ee3e6 /src/tile-image.cpp | |
parent | af9e9e64a8dea21868cf3474cda6b8a85ac05442 (diff) |
use variant typedef and default value consistently
Diffstat (limited to 'src/tile-image.cpp')
-rw-r--r-- | src/tile-image.cpp | 2 |
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} { } |