projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: add a subset of cppcoreguidelines and other style checks
[lttng-tools.git]
/
src
/
common
/
scope-exit.hpp
diff --git
a/src/common/scope-exit.hpp
b/src/common/scope-exit.hpp
index e73b5792b776910c5191f6583b27cce2a2d97860..20d9b892d34d0ff54265035b951d144a9d5b6d4b 100644
(file)
--- 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;
* 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
scope_exit() = delete;
void disarm() noexcept
This page took
0.022478 seconds
and
4
git commands to generate.