accessMoved cppcheck error

This commit is contained in:
gtsoul-tech 2024-04-23 12:15:12 +03:00
parent 53015b2bbf
commit c4bffd7cef

View File

@ -1599,7 +1599,8 @@ void dedupeLeftfixesVariableLag(RoseBuildImpl &build) {
continue; continue;
} }
} }
engine_groups[DedupeLeftKey(build, std::move(preds), left)].emplace_back(left); auto preds_copy = preds;
engine_groups[DedupeLeftKey(build, std::move(preds_copy), left)].emplace_back(left);
} }
/* We don't bother chunking as we expect deduping to be successful if the /* We don't bother chunking as we expect deduping to be successful if the