Michele Caini 8 سال پیش
والد
کامیت
b3df46db19
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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);