summaryrefslogtreecommitdiffstats
path: root/src/server/RunContext.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 21:31:04 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commitc0de5d2620cc1ee227ff2c64ef163e308ba19cb4 (patch)
treee0958e92ab78cb5f17f9073ab75faaec9912b847 /src/server/RunContext.hpp
parent7b70b455e6199b508217b021d9a0dfc08f9a7794 (diff)
downloadingen-c0de5d2620cc1ee227ff2c64ef163e308ba19cb4.tar.gz
ingen-c0de5d2620cc1ee227ff2c64ef163e308ba19cb4.tar.bz2
ingen-c0de5d2620cc1ee227ff2c64ef163e308ba19cb4.zip
Use explicit default for trivial constructors
Diffstat (limited to 'src/server/RunContext.hpp')
-rw-r--r--src/server/RunContext.hpp5
1 files changed, 3 insertions, 2 deletions
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