Fix clang warning
This commit is contained in:
parent
4ed66735b6
commit
1ba993d07c
1 changed files with 2 additions and 1 deletions
|
@ -244,7 +244,8 @@ std::unique_ptr<FinishSink> sourceToSink(std::function<void(Source &)> fun)
|
||||||
if (!cur.empty()) (*coro)(false);
|
if (!cur.empty()) (*coro)(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void finish() {
|
void finish() override
|
||||||
|
{
|
||||||
if (!coro) return;
|
if (!coro) return;
|
||||||
if (!*coro) abort();
|
if (!*coro) abort();
|
||||||
(*coro)(true);
|
(*coro)(true);
|
||||||
|
|
Loading…
Reference in a new issue