diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-07-27 23:34:35 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-10-23 18:26:01 +0000 |
commit | 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583 (patch) | |
tree | 6cf5ab1f05330c6773b1f3f64799d56a9c7a1faa /contrib/llvm-project/llvm/lib/Support/DeltaAlgorithm.cpp | |
parent | 6b9f7133aba44189d9625c352bc2c2a59baf18ef (diff) | |
parent | ac9a064cb179f3425b310fa2847f8764ac970a4d (diff) |
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/DeltaAlgorithm.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Support/DeltaAlgorithm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/DeltaAlgorithm.cpp b/contrib/llvm-project/llvm/lib/Support/DeltaAlgorithm.cpp index 341de244547c..d763cded6e7e 100644 --- a/contrib/llvm-project/llvm/lib/Support/DeltaAlgorithm.cpp +++ b/contrib/llvm-project/llvm/lib/Support/DeltaAlgorithm.cpp @@ -83,9 +83,9 @@ bool DeltaAlgorithm::Search(const changeset_ty &Changes, if (Sets.size() > 2) { // FIXME: This is really slow. changeset_ty Complement; - std::set_difference( - Changes.begin(), Changes.end(), it->begin(), it->end(), - std::insert_iterator<changeset_ty>(Complement, Complement.begin())); + std::set_difference(Changes.begin(), Changes.end(), it->begin(), + it->end(), + std::inserter(Complement, Complement.begin())); if (GetTestResult(Complement)) { changesetlist_ty ComplementSets; ComplementSets.insert(ComplementSets.end(), Sets.begin(), it); |