We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6e47f commit 049e529Copy full SHA for 049e529
test/example/entity_copy.cpp
@@ -46,6 +46,16 @@ TEST(Example, DifferentRegistryTypes) {
46
entt::basic_registry<entt::entity> registry{};
47
entt::basic_registry<my_entity> other{};
48
49
+ /*
50
+ TODO These are currently needed to ensure that the source and
51
+ target registries have the proper storage initialized
52
+ prior to copying, as this isn't done automatically
53
+ when emplacing storages (as is done below).
54
+
55
+ There is an open issue about this, and these two
56
+ lines should be removed when a fix is properly landed.
57
+ https://github.com/skypjack/entt/issues/827
58
+ */
59
static_cast<void>(registry.storage<double>());
60
static_cast<void>(other.storage<int>());
61
0 commit comments