Browse Source

test: const correctness

Michele Caini 1 year ago
parent
commit
b6d3c84595
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/entt/entity/view.cpp

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

@@ -350,7 +350,7 @@ TEST(SingleStorageView, DeductionGuide) {
 
 
 TEST(SingleStorageView, IterableViewAlgorithmCompatibility) {
 TEST(SingleStorageView, IterableViewAlgorithmCompatibility) {
     entt::storage<char> storage{};
     entt::storage<char> storage{};
-    entt::basic_view view{storage};
+    const entt::basic_view view{storage};
     const entt::entity entity{0};
     const entt::entity entity{0};
 
 
     storage.emplace(entity);
     storage.emplace(entity);