Browse Source

test: suppress warnings due to suggested braces

Michele Caini 5 năm trước cách đây
mục cha
commit
4e870b83cd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/entt/entity/storage.cpp

+ 1 - 1
test/entt/entity/storage.cpp

@@ -13,7 +13,7 @@
 
 
 struct empty_type {};
 struct empty_type {};
 struct boxed_int { int value; };
 struct boxed_int { int value; };
-struct stable_type: boxed_int {};
+struct stable_type { int value; };
 
 
 struct update_from_destructor {
 struct update_from_destructor {
     update_from_destructor(entt::storage<update_from_destructor> &ref, entt::entity other)
     update_from_destructor(entt::storage<update_from_destructor> &ref, entt::entity other)