From 9f64e6a19ea584c00f42b63fe151017d1a4f2bac Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 26 May 2020 18:35:04 -0600 Subject: [PATCH] Remove Task::operator==. I don't see how to implement in the scheme I have in my head, and it's hard to see why anyone would want to use it to begin with. --- include/deal.II/base/thread_management.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/deal.II/base/thread_management.h b/include/deal.II/base/thread_management.h index 4546ec0b2a..20f4eedf99 100644 --- a/include/deal.II/base/thread_management.h +++ b/include/deal.II/base/thread_management.h @@ -1336,18 +1336,6 @@ namespace Threads } - /** - * Check for equality of task objects. Since objects of this class store - * an implicit pointer to an object that exists exactly once for each - * task, the check is simply to compare these pointers. - */ - bool - operator==(const Task &t) const - { - AssertThrow(joinable(), ExcNoTask()); - return task_descriptor == t.task_descriptor; - } - /** * @addtogroup Exceptions * @{ -- 2.39.5