소스 검색

test: const correctness

Michele Caini 1 년 전
부모
커밋
d87b7a928d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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());
     ASSERT_EQ(handle, view.handle());
 
 
     view.refresh();
     view.refresh();
-    auto *other = view.handle();
+    const auto *other = view.handle();
 
 
     ASSERT_NE(other, nullptr);
     ASSERT_NE(other, nullptr);