clang-analyzer-cplusplus.Move

This commit is contained in:
gtsoul-tech 2024-05-31 10:34:55 +03:00
parent 00a5ff1c67
commit 9987ecd4a0

View File

@ -185,8 +185,8 @@ void findPaths(const NGHolder &g, CorpusProperties &cProps,
continue;
}
if (p && !contains(one_way_in, v) &&
has_greater_than(p->begin(), p->end(), v, cycleLimit)) {
if (!contains(one_way_in, v) &&
has_greater_than(p->begin(), p->end(), v, cycleLimit)) { //NOLINT (clang-analyzer-cplusplus.Move)
// Note that vertices that only have one predecessor don't need
// their cycle limit checked, as their predecessors will have
// the same count.