aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/serialise.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 08:15:33 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-14 08:15:33 +0200
commit1ba993d07c8e823c6051de207b9d1fe07aa16656 (patch)
tree454d615dc4022cd0b669a084889571ccf272aa76 /src/libutil/serialise.cc
parent4ed66735b67b785efad7e23599a1777343c264b5 (diff)
Fix clang warning
Diffstat (limited to 'src/libutil/serialise.cc')
-rw-r--r--src/libutil/serialise.cc3
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);