Another StringRef -> std::string conversion fix.

This is needed to make this code compile on master-next.
This commit is contained in:
Michael Forster
2020-04-21 06:28:30 +02:00
parent 982425f1d5
commit 21adecc9c2

View File

@@ -2774,7 +2774,7 @@ static std::string getJsonOutputFilePath(llvm::Triple Triple, bool ABI) {
exit(1);
}
llvm::sys::path::append(OutputPath, getBaselineFilename(Triple));
return OutputPath.str();
return OutputPath.str().str();
}
llvm::errs() << "Unable to decide output file path\n";
exit(1);