test: suppress warnings due to unused variables

This commit is contained in:
Michele Caini
2023-03-01 12:17:55 +01:00
parent 0bf0a0a8fa
commit c19c848c46
2 changed files with 0 additions and 4 deletions

View File

@@ -351,7 +351,6 @@ TEST_F(Storage, Insert) {
TEST_F(Storage, InsertEmptyType) {
entt::storage<empty_stable_type> pool;
entt::entity entities[2u]{entt::entity{3}, entt::entity{42}};
const entt::sparse_set &base = pool;
pool.insert(std::begin(entities), std::end(entities));

View File

@@ -223,11 +223,8 @@ TEST(StorageEntity, Emplace) {
}
TEST(StorageEntity, Insert) {
using traits_type = entt::entt_traits<entt::entity>;
entt::storage<entt::entity> pool;
entt::entity entities[2u]{};
const entt::sparse_set &base = pool;
pool.insert(std::begin(entities), std::end(entities));