Просмотр исходного кода

test: suppress warning due to unused variable

Michele Caini 1 год назад
Родитель
Сommit
206110caaf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/entt/entity/table.cpp

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

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