ソースを参照

test: avoid warnings due to unused variables

Michele Caini 2 年 前
コミット
afb70d1570
1 ファイル変更0 行追加1 行削除
  1. 0 1
      test/entt/entity/snapshot.cpp

+ 0 - 1
test/entt/entity/snapshot.cpp

@@ -125,7 +125,6 @@ TEST(BasicSnapshot, GetTypeSparse) {
 
     entt::registry registry;
     entt::basic_snapshot snapshot{registry};
-    const auto &storage = registry.storage<int>();
 
     entt::entity entities[3u];
     const int values[3u]{1, 2, 3};