projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46dbd19
)
Fix buildbot failures from 7917b3c6.
author
Daniel Thornburgh
<dthorn@google.com>
Mon, 21 Mar 2022 17:57:36 +0000
(17:57 +0000)
committer
Daniel Thornburgh
<dthorn@google.com>
Mon, 21 Mar 2022 17:58:22 +0000
(17:58 +0000)
llvm/lib/Debuginfod/Debuginfod.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Debuginfod/Debuginfod.cpp
b/llvm/lib/Debuginfod/Debuginfod.cpp
index
a18cfdd
..
7b1c36f
100644
(file)
--- a/
llvm/lib/Debuginfod/Debuginfod.cpp
+++ b/
llvm/lib/Debuginfod/Debuginfod.cpp
@@
-129,6
+129,7
@@
class StreamedHTTPResponseHandler : public HTTPResponseHandler {
public:
StreamedHTTPResponseHandler(CreateStreamFn CreateStream, HTTPClient &Client)
: CreateStream(CreateStream), Client(Client) {}
+ virtual ~StreamedHTTPResponseHandler() = default;
Error handleBodyChunk(StringRef BodyChunk) override;
};
@@
-196,7
+197,7
@@
Expected<std::string> getCachedOrDownloadArtifact(
HTTPRequest Request(ArtifactUrl);
Error Err = Client.perform(Request, Handler);
if (Err)
- return
Err
;
+ return
std::move(Err)
;
if (Client.responseCode() != 200)
continue;