We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66f888 commit 10442ddCopy full SHA for 10442dd
lib/fizzy/execution_context.hpp
@@ -18,6 +18,11 @@ class ExecutionContext
18
ExecutionContext& m_execution_context; ///< Reference to the guarded execution context.
19
20
public:
21
+ Guard(const Guard&) = delete;
22
+ Guard(Guard&&) = delete;
23
+ Guard& operator=(const Guard&) = delete;
24
+ Guard& operator=(Guard&&) = delete;
25
+
26
explicit Guard(ExecutionContext& ctx) noexcept : m_execution_context{ctx}
27
{
28
++m_execution_context.depth;
0 commit comments