test: suppress a warning from clang-cl

This commit is contained in:
Michele Caini
2023-10-06 11:08:39 +02:00
parent 592147a499
commit ffa0a7f276

View File

@@ -13,6 +13,11 @@ struct entity_id {
constexpr entity_id(const entity_id &other) noexcept
: entt{other.entt} {}
constexpr entity_id &operator=(const entity_id &other) noexcept {
entt = other.entt;
return *this;
}
constexpr operator entity_type() const noexcept {
return entt;
}