Skip to content

Commit

Permalink
test: minor changes (code coverage purposes)
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Dec 23, 2023
1 parent 24aac47 commit 44e1348
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/entt/meta/meta_any.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ enum class enum_class : unsigned short int {

struct unmanageable_t {
unmanageable_t() = default;
~unmanageable_t() = default;
virtual ~unmanageable_t() = default;

unmanageable_t(const unmanageable_t &) = delete;
unmanageable_t(unmanageable_t &&) = delete;

unmanageable_t &operator=(const unmanageable_t &) = delete;
unmanageable_t &operator=(unmanageable_t &&) = delete;
};
Expand Down Expand Up @@ -1303,7 +1305,7 @@ TEST_F(MetaAny, EnumConversion) {
}

TEST_F(MetaAny, UnmanageableType) {
unmanageable_t instance;
unmanageable_t instance{};
auto any = entt::forward_as_meta(instance);
entt::meta_any other = any.as_ref();

Expand Down

0 comments on commit 44e1348

Please sign in to comment.