Jelajahi Sumber

test: suppress warnings due to suggested braces

Michele Caini 4 tahun lalu
induk
melakukan
4e870b83cd
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      test/entt/entity/storage.cpp

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

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