summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/PluginImpl.hpp7
-rw-r--r--src/server/RunContext.hpp5
-rw-r--r--src/server/Task.hpp6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp
index 3c93aa21..e209dbc9 100644
--- a/src/server/PluginImpl.hpp
+++ b/src/server/PluginImpl.hpp
@@ -48,6 +48,9 @@ public:
{
}
+ PluginImpl(const PluginImpl&) = delete;
+ PluginImpl& operator=(const PluginImpl&) = delete;
+
virtual BlockImpl* instantiate(BufferFactory& bufs,
const Raul::Symbol& symbol,
bool polyphonic,
@@ -84,10 +87,6 @@ protected:
Presets _presets;
bool _presets_loaded;
bool _is_zombie;
-
-private:
- PluginImpl(const PluginImpl&) = delete;
- PluginImpl& operator=(const PluginImpl&) = delete;
};
} // namespace server
diff --git a/src/server/RunContext.hpp b/src/server/RunContext.hpp
index 0ba4916b..7859d545 100644
--- a/src/server/RunContext.hpp
+++ b/src/server/RunContext.hpp
@@ -68,6 +68,9 @@ public:
*/
RunContext(const RunContext& copy);
+ RunContext& operator=(const RunContext&) = delete;
+ RunContext& operator=(RunContext&&) = delete;
+
/** Return true iff the given port should broadcast its value.
*
* Whether or not broadcasting is actually done is a per-client property,
@@ -138,8 +141,6 @@ public:
inline bool realtime() const { return _realtime; }
protected:
- const RunContext& operator=(const RunContext& copy) = delete;
-
void run();
Engine& _engine; ///< Engine we're running in
diff --git a/src/server/Task.hpp b/src/server/Task.hpp
index 9f1e6dae..19fd6cad 100644
--- a/src/server/Task.hpp
+++ b/src/server/Task.hpp
@@ -49,6 +49,9 @@ public:
assert(!(mode == Mode::SINGLE && !block));
}
+ Task(const Task&) = delete;
+ Task& operator=(const Task&) = delete;
+
Task(Task&& task)
: _children(std::move(task._children))
, _block(task._block)
@@ -100,9 +103,6 @@ public:
private:
using Children = std::deque<std::unique_ptr<Task>>;
- Task(const Task&) = delete;
- Task& operator=(const Task&) = delete;
-
Task* get_task(RunContext& ctx);
void append(std::unique_ptr<Task>&& t) {