From 1ba993d07c8e823c6051de207b9d1fe07aa16656 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 14 Sep 2021 08:15:33 +0200 Subject: Fix clang warning --- src/libutil/serialise.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libutil/serialise.cc') 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 sourceToSink(std::function fun) if (!cur.empty()) (*coro)(false); } - void finish() { + void finish() override + { if (!coro) return; if (!*coro) abort(); (*coro)(true); -- cgit v1.2.3