X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fscope-exit.hpp;fp=src%2Fcommon%2Fscope-exit.hpp;h=20d9b892d34d0ff54265035b951d144a9d5b6d4b;hp=e73b5792b776910c5191f6583b27cce2a2d97860;hb=9d89db29f3bf6c826293350f8f1a8559ec906b24;hpb=1a12551012430c38186da14611dd4921e7319d20 diff --git a/src/common/scope-exit.hpp b/src/common/scope-exit.hpp index e73b5792b..20d9b892d 100644 --- a/src/common/scope-exit.hpp +++ b/src/common/scope-exit.hpp @@ -58,6 +58,8 @@ public: * also propagate the scope_exit to another scope, should it be needed. */ scope_exit(const scope_exit&) = delete; + scope_exit& operator=(const scope_exit&) = delete; + scope_exit& operator=(scope_exit&&) = delete; scope_exit() = delete; void disarm() noexcept