llvm.org GIT mirror llvm / 6538c02
Fix the build with gcc/libstdc++ 4.8.2 after r354441 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354469 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 1 year, 9 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
225225 ClusterIdForPoint_[P] = UnstableCluster.Id;
226226 });
227227 // Actually append to-be-moved points to the new cluster.
228 UnstableCluster.PointIndices.insert(UnstableCluster.PointIndices.cend(),
228 UnstableCluster.PointIndices.insert(UnstableCluster.PointIndices.end(),
229229 it, OldCluster.PointIndices.end());
230230 // And finally, remove "to-be-moved" points form the old cluster.
231 OldCluster.PointIndices.erase(it, OldCluster.PointIndices.cend());
231 OldCluster.PointIndices.erase(it, OldCluster.PointIndices.end());
232232 // Now, the old cluster may end up being empty, but let's just keep it
233233 // in whatever state it ended up. Purging empty clusters isn't worth it.
234234 };