Michele Caini %!s(int64=8) %!d(string=hai) anos
pai
achega
b3df46db19
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      test/entt/entity/registry.cpp

+ 1 - 0
test/entt/entity/registry.cpp

@@ -208,6 +208,7 @@ TEST(DefaultRegistry, Orphans) {
     registry.create();
     registry.create<int>();
     registry.create();
+    registry.attach<double>(registry.create());
 
     registry.orphans([&](auto) { ++tot; });
     ASSERT_EQ(tot, 2u);