Explorar el Código

test: const correctness

Michele Caini hace 1 año
padre
commit
d87b7a928d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);