diff options
| -rw-r--r-- | llvm/tools/sancov/sancov.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/sancov/sancov.cc b/llvm/tools/sancov/sancov.cc index 34dacec9816..d7dd8b67492 100644 --- a/llvm/tools/sancov/sancov.cc +++ b/llvm/tools/sancov/sancov.cc @@ -1049,8 +1049,8 @@ public: } void printReport(raw_ostream &OS) const { - auto Title = std::string(llvm::sys::path::filename(MainObjFile) + - " Coverage Report"); + auto Title = + (llvm::sys::path::filename(MainObjFile) + " Coverage Report").str(); OS << "<html>\n"; OS << "<head>\n"; |

