Skip to content

Commit b72f939

Browse files
committed
Remove unnecessary clear().
1 parent 0c9f9f7 commit b72f939

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/CSSolver.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ Solution ConstraintSystem::finalize() {
186186

187187
solution.solutionApplicationTargets = solutionApplicationTargets;
188188
solution.caseLabelItems = caseLabelItems;
189-
solution.isolatedParams.clear();
190189
solution.isolatedParams.append(isolatedParams.begin(), isolatedParams.end());
191190

192191
for (const auto &transformed : resultBuilderTransformed) {

0 commit comments

Comments
 (0)