Browse Source

test: suppress warning due to unused variable

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

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

@@ -2,5 +2,5 @@
 #include <entt/entity/table.hpp>
 
 TEST(Table, Placeholder) {
-    entt::table<int, char> table{};
+    [[maybe_unused]] entt::table<int, char> table{};
 }