summaryrefslogtreecommitdiffhomepage
path: root/src/tile-image.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-23 12:17:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-23 12:17:12 +0100
commitae9cc0570ad7bd7a879bea1447b12fa9284b569c (patch)
treed112ccc202f04b3d100652504ed8aaf39ed068da /src/tile-image.hpp
parenta737d0cea5ca8bdcd3f9cfc38e29f8a15992ca3e (diff)
a
Diffstat (limited to 'src/tile-image.hpp')
-rw-r--r--src/tile-image.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile-image.hpp b/src/tile-image.hpp
index 8b2c94e5..50cf0a33 100644
--- a/src/tile-image.hpp
+++ b/src/tile-image.hpp
@@ -15,7 +15,7 @@ struct image_proto_
variant_t variant = 0;
bool operator==(const image_proto_<Atlas>& b) const noexcept;
- operator bool() const noexcept;
+ explicit operator bool() const noexcept;
};
template<typename Atlas, typename Proto>
@@ -28,7 +28,7 @@ struct image_ref_ final
image_ref_(const image_ref_&) noexcept;
image_ref_& operator=(const Proto& proto) noexcept;
operator Proto() const noexcept;
- operator bool() const noexcept;
+ explicit operator bool() const noexcept;
};
using tile_image_proto = image_proto_<tile_atlas>;