diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 23:37:57 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | 95ce6020363d1d1686835f14646ab96634cdb723 (patch) | |
tree | af1d7686707569c6a1e6a5eaad838a9b8676b877 /src/server | |
parent | b2ca9ab82aceefb3de27dfd5ea313916dfcdfcd9 (diff) | |
download | ingen-95ce6020363d1d1686835f14646ab96634cdb723.tar.gz ingen-95ce6020363d1d1686835f14646ab96634cdb723.tar.bz2 ingen-95ce6020363d1d1686835f14646ab96634cdb723.zip |
Make move operators noexcept
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/Task.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/Task.hpp b/src/server/Task.hpp index 19fd6cad..c76f33da 100644 --- a/src/server/Task.hpp +++ b/src/server/Task.hpp @@ -52,7 +52,7 @@ public: Task(const Task&) = delete; Task& operator=(const Task&) = delete; - Task(Task&& task) + Task(Task&& task) noexcept : _children(std::move(task._children)) , _block(task._block) , _mode(task._mode) @@ -61,7 +61,7 @@ public: , _done(task._done.load()) {} - Task& operator=(Task&& task) + Task& operator=(Task&& task) noexcept { _children = std::move(task._children); _block = task._block; |