diff options
Diffstat (limited to 'llvm/lib/Remarks/BitstreamRemarkParser.cpp')
-rw-r--r-- | llvm/lib/Remarks/BitstreamRemarkParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Remarks/BitstreamRemarkParser.cpp b/llvm/lib/Remarks/BitstreamRemarkParser.cpp index 4c4508879114..25fbea7d31c2 100644 --- a/llvm/lib/Remarks/BitstreamRemarkParser.cpp +++ b/llvm/lib/Remarks/BitstreamRemarkParser.cpp @@ -323,7 +323,7 @@ remarks::createBitstreamParserFromMeta( : std::make_unique<BitstreamRemarkParser>(Buf); if (ExternalFilePrependPath) - Parser->ExternalFilePrependPath = *ExternalFilePrependPath; + Parser->ExternalFilePrependPath = std::string(*ExternalFilePrependPath); return std::move(Parser); } |