From 5e346beb2d9fbee6ddf916423614240eaefd24c4 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Tue, 16 Nov 2021 00:38:56 -0500 Subject: [PATCH] task: delete the move constructor for TaskState Move-constructing isn't good for that class either. Signed-off-by: Zygo Blaxell --- lib/task.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/task.cc b/lib/task.cc index d58fe73..d7f0f1a 100644 --- a/lib/task.cc +++ b/lib/task.cc @@ -89,6 +89,7 @@ namespace crucible { TaskState &operator=(const TaskState &) = delete; TaskState(const TaskState &) = delete; + TaskState(TaskState &&) = delete; public: ~TaskState();