diff options
-rw-r--r-- | src/libutil/finally.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/finally.hh b/src/libutil/finally.hh index 49263ee6d..f2293e5d4 100644 --- a/src/libutil/finally.hh +++ b/src/libutil/finally.hh @@ -19,5 +19,5 @@ public: Finally(Finally &&other) : fun(std::move(other.fun)) { other.movedFrom = true; } - ~Finally() { if (!movedFrom) fun(); } + ~Finally() noexcept(false) { if (!movedFrom) fun(); } }; |