Procházet zdrojové kódy

test: suppress warnings due to suggested braces

Michele Caini před 4 roky
rodič
revize
4e870b83cd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)