Sfoglia il codice sorgente

test: const correctness

Michele Caini 1 anno fa
parent
commit
d87b7a928d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      test/entt/entity/view.cpp

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

@@ -742,7 +742,7 @@ TEST(MultiStorageView, Handle) {
     ASSERT_EQ(handle, view.handle());
 
     view.refresh();
-    auto *other = view.handle();
+    const auto *other = view.handle();
 
     ASSERT_NE(other, nullptr);