Sfoglia il codice sorgente

test: suppress warning due to unused variable

Michele Caini 2 anni fa
parent
commit
206110caaf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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{};
 }