clang-tidy: add a subset of cppcoreguidelines and other style checks
[lttng-tools.git] / src / common / scope-exit.hpp
index e73b5792b776910c5191f6583b27cce2a2d97860..20d9b892d34d0ff54265035b951d144a9d5b6d4b 100644 (file)
@@ -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
This page took 0.022923 seconds and 4 git commands to generate.