Update make_unique call after the utility got removed upstream.

This probably got auto-merged from master.
This commit is contained in:
Jonas Devlieghere
2019-08-18 12:53:32 -07:00
parent f77d9ace89
commit 54dc4a6bab

View File

@@ -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;
}