Skip to content

Commit b5c1ec8

Browse files
Update swift/extractor/SwiftOutputRewrite.cpp
Co-authored-by: Paolo Tranquilli <redsun82@github.com>
1 parent 6b0e734 commit b5c1ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/SwiftOutputRewrite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ std::unordered_map<std::string, std::string> rewriteOutputsInPlace(
225225
}
226226

227227
// This doesn't really belong here, but we've got Xcode...
228-
for (auto& [oldPath, newPath] : remapping) {
228+
for (const auto& [oldPath, newPath] : remapping) {
229229
llvm::StringRef path(oldPath);
230230
auto aliases = computeModuleAliases(path, targetTriple);
231231
for (auto& alias : aliases) {

0 commit comments

Comments
 (0)