COFF: Remove unnecessary explicit calls of Twine ctor.
llvm-svn: 275501
diff --git a/lld/COFF/PDB.cpp b/lld/COFF/PDB.cpp
index 7c60567..023e03c 100644
--- a/lld/COFF/PDB.cpp
+++ b/lld/COFF/PDB.cpp
@@ -38,7 +38,7 @@
size_t FileSize = PageSize * 3;
ErrorOr<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
FileOutputBuffer::create(Path, FileSize);
- check(BufferOrErr, Twine("failed to open ") + Path);
+ check(BufferOrErr, "failed to open " + Path);
std::unique_ptr<FileOutputBuffer> Buffer = std::move(*BufferOrErr);
// Write the file header.