Skip to content

Commit 44e1348

Browse files
committed
test: minor changes (code coverage purposes)
1 parent 24aac47 commit 44e1348

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/entt/meta/meta_any.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ enum class enum_class : unsigned short int {
7171

7272
struct unmanageable_t {
7373
unmanageable_t() = default;
74-
~unmanageable_t() = default;
74+
virtual ~unmanageable_t() = default;
75+
7576
unmanageable_t(const unmanageable_t &) = delete;
7677
unmanageable_t(unmanageable_t &&) = delete;
78+
7779
unmanageable_t &operator=(const unmanageable_t &) = delete;
7880
unmanageable_t &operator=(unmanageable_t &&) = delete;
7981
};
@@ -1303,7 +1305,7 @@ TEST_F(MetaAny, EnumConversion) {
13031305
}
13041306

13051307
TEST_F(MetaAny, UnmanageableType) {
1306-
unmanageable_t instance;
1308+
unmanageable_t instance{};
13071309
auto any = entt::forward_as_meta(instance);
13081310
entt::meta_any other = any.as_ref();
13091311

0 commit comments

Comments
 (0)