We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24aac47 commit 44e1348Copy full SHA for 44e1348
test/entt/meta/meta_any.cpp
@@ -71,9 +71,11 @@ enum class enum_class : unsigned short int {
71
72
struct unmanageable_t {
73
unmanageable_t() = default;
74
- ~unmanageable_t() = default;
+ virtual ~unmanageable_t() = default;
75
+
76
unmanageable_t(const unmanageable_t &) = delete;
77
unmanageable_t(unmanageable_t &&) = delete;
78
79
unmanageable_t &operator=(const unmanageable_t &) = delete;
80
unmanageable_t &operator=(unmanageable_t &&) = delete;
81
};
@@ -1303,7 +1305,7 @@ TEST_F(MetaAny, EnumConversion) {
1303
1305
}
1304
1306
1307
TEST_F(MetaAny, UnmanageableType) {
- unmanageable_t instance;
1308
+ unmanageable_t instance{};
1309
auto any = entt::forward_as_meta(instance);
1310
entt::meta_any other = any.as_ref();
1311
0 commit comments