소스 검색

test: comment expected NOLINT for deprecated feature

Michele Caini 2 년 전
부모
커밋
cbf853fa75
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/entt/entity/group.cpp

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

@@ -319,7 +319,7 @@ TEST(NonOwningGroup, SortAsAPool) {
     }
     }
 
 
     registry.sort<unsigned int>(std::less<unsigned int>{});
     registry.sort<unsigned int>(std::less<unsigned int>{});
-    group.sort_as(*group.storage<unsigned int>()); // NOLINT
+    group.sort_as(*group.storage<unsigned int>()); // NOLINT(clang-diagnostic-deprecated-declarations)
 
 
     ASSERT_EQ((group.get<const int, unsigned int>(e0)), (std::make_tuple(0, 0u)));
     ASSERT_EQ((group.get<const int, unsigned int>(e0)), (std::make_tuple(0, 0u)));
     ASSERT_EQ((group.get<0, 1>(e1)), (std::make_tuple(1, 1u)));
     ASSERT_EQ((group.get<0, 1>(e1)), (std::make_tuple(1, 1u)));