Skip to content

Commit 4a95258

Browse files
committed
Fix errant use of llvm::make_unique
This looks to be a mismerge from master. master-next uses std::make_unique instead of the now defunct llvm::make_unique
1 parent 58c2980 commit 4a95258

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4788,8 +4788,8 @@ void swift::serializeToBuffers(
47884788
return false;
47894789
});
47904790
if (moduleSourceInfoBuffer)
4791-
*moduleSourceInfoBuffer = llvm::make_unique<llvm::SmallVectorMemoryBuffer>(
4792-
std::move(buf), options.SourceInfoOutputPath);
4791+
*moduleSourceInfoBuffer = std::make_unique<llvm::SmallVectorMemoryBuffer>(
4792+
std::move(buf), options.SourceInfoOutputPath);
47934793
}
47944794
}
47954795

0 commit comments

Comments
 (0)