Skip to content

Commit 05dd7bf

Browse files
committed
libmbcommon: Fix missing return statement in Finally assignment operator
Signed-off-by: Andrew Gunnerson <[email protected]>
1 parent 8ae4aa8 commit 05dd7bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libmbcommon/include/mbcommon/finally.h

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class Finally
6262
_f = std::move(rhs._f);
6363
_dismissed = rhs._dismissed;
6464
rhs.dismiss();
65+
return *this;
6566
}
6667

6768
void dismiss() noexcept

0 commit comments

Comments
 (0)