From c19c848c462b80a5ba9ab06e3d5529f3aaacb963 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 1 Mar 2023 12:17:55 +0100 Subject: [PATCH] test: suppress warnings due to unused variables --- test/entt/entity/storage.cpp | 1 - test/entt/entity/storage_entity.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/test/entt/entity/storage.cpp b/test/entt/entity/storage.cpp index 628c4ab09..ff76a4b8a 100644 --- a/test/entt/entity/storage.cpp +++ b/test/entt/entity/storage.cpp @@ -351,7 +351,6 @@ TEST_F(Storage, Insert) { TEST_F(Storage, InsertEmptyType) { entt::storage 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)); diff --git a/test/entt/entity/storage_entity.cpp b/test/entt/entity/storage_entity.cpp index 82c13bb26..fe9d6ecf0 100644 --- a/test/entt/entity/storage_entity.cpp +++ b/test/entt/entity/storage_entity.cpp @@ -223,11 +223,8 @@ TEST(StorageEntity, Emplace) { } TEST(StorageEntity, Insert) { - using traits_type = entt::entt_traits; - entt::storage pool; entt::entity entities[2u]{}; - const entt::sparse_set &base = pool; pool.insert(std::begin(entities), std::end(entities));