add two extra noreturn that clang picked up

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-03-16 23:02:35 -07:00
parent a5b136c420
commit 84f71cec2c
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
3 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,7 @@ InputStream::CheapSeeking() const noexcept
return IsSeekable() && !ExpensiveSeeking(uri.c_str());
}
//[[noreturn]]
void
InputStream::Seek(std::unique_lock<Mutex> &, [[maybe_unused]] offset_type new_offset)
{

View File

@ -51,6 +51,7 @@ public:
protected:
/* virtual methods from CurlResponseParser */
[[noreturn]]
void OnEnd() override;
public:

View File

@ -55,6 +55,7 @@ public:
protected:
/* virtual methods from CurlResponseParser */
[[noreturn]]
void OnEnd() override;
public: