فهرست منبع

test: suppress a warning due to an unused variable

Michele Caini 5 سال پیش
والد
کامیت
0f951cd322
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      test/entt/entity/view.cpp

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

@@ -86,7 +86,6 @@ TEST(SingleComponentView, RawData) {
     ASSERT_EQ(*view.data(), entity);
     ASSERT_EQ(*cview.data(), entity);
 
-    const auto other = registry.create();
     registry.destroy(entity);
 
     ASSERT_EQ(view.size(), 0u);