lib/curl: add "noexcept"

This commit is contained in:
Max Kellermann
2017-11-12 17:49:58 +01:00
parent c582a9faae
commit 9d47b220a4
14 changed files with 71 additions and 65 deletions

View File

@@ -144,7 +144,7 @@ private:
}
/* virtual methods from CurlResponseHandler */
void OnError(std::exception_ptr e) final {
void OnError(std::exception_ptr e) noexcept final {
const std::lock_guard<Mutex> lock(mutex);
postponed_error = std::move(e);
SetDone();