mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update make_unique call after the utility got removed upstream.
This probably got auto-merged from master.
This commit is contained in:
@@ -435,7 +435,7 @@ void ModuleDecl::removeFile(FileUnit &existingFile) {
|
||||
SourceLookupCache &ModuleDecl::getSourceLookupCache() const {
|
||||
if (!Cache) {
|
||||
const_cast<ModuleDecl *>(this)->Cache =
|
||||
llvm::make_unique<SourceLookupCache>(*this);
|
||||
std::make_unique<SourceLookupCache>(*this);
|
||||
}
|
||||
return *Cache;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user