diff options
author | David Robillard <d@drobilla.net> | 2023-08-23 11:12:57 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-08-23 11:12:57 -0400 |
commit | 17b3e46018cbf640942b5bbee8cb2835b06145b7 (patch) | |
tree | b68d5deec4cf69a2a49270f9e091d21d4cd4fcdc | |
parent | 0fcf616ce740986f4a4f0d5aecd7048ad3a6da54 (diff) | |
download | ingen-17b3e46018cbf640942b5bbee8cb2835b06145b7.tar.gz ingen-17b3e46018cbf640942b5bbee8cb2835b06145b7.tar.bz2 ingen-17b3e46018cbf640942b5bbee8cb2835b06145b7.zip |
Simplify conditional
-rw-r--r-- | src/server/Task.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Task.hpp b/src/server/Task.hpp index e64d888c..30941f28 100644 --- a/src/server/Task.hpp +++ b/src/server/Task.hpp @@ -44,7 +44,7 @@ public: : _block(block) , _mode(mode) { - assert(!(mode == Mode::SINGLE && !block)); + assert(mode != Mode::SINGLE || block); } Task(const Task&) = delete; |