From: Wolfgang Bangerth Date: Wed, 27 May 2020 00:35:04 +0000 (-0600) Subject: Remove Task::operator==. X-Git-Tag: v9.3.0-rc1~1547^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f64e6a19ea584c00f42b63fe151017d1a4f2bac;p=dealii.git 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. --- 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 * @{