mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 04:56:01 +01:00
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…
Add table
Add a link
Reference in a new issue