diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-09-14 08:15:33 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-09-14 08:15:33 +0200 |
commit | 1ba993d07c8e823c6051de207b9d1fe07aa16656 (patch) | |
tree | 454d615dc4022cd0b669a084889571ccf272aa76 /src/libutil/serialise.cc | |
parent | 4ed66735b67b785efad7e23599a1777343c264b5 (diff) |
Fix clang warning
Diffstat (limited to 'src/libutil/serialise.cc')
-rw-r--r-- | src/libutil/serialise.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/serialise.cc b/src/libutil/serialise.cc index 374b48d79..16f3476c2 100644 --- a/src/libutil/serialise.cc +++ b/src/libutil/serialise.cc @@ -244,7 +244,8 @@ std::unique_ptr<FinishSink> sourceToSink(std::function<void(Source &)> fun) if (!cur.empty()) (*coro)(false); } - void finish() { + void finish() override + { if (!coro) return; if (!*coro) abort(); (*coro)(true); |