From: Wolfgang Bangerth Date: Wed, 24 Jul 2024 16:55:39 +0000 (-0600) Subject: Mark move operator as 'noexcept'. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17372%2Fhead;p=dealii.git Mark move operator as 'noexcept'. --- diff --git a/include/deal.II/base/task_result.h b/include/deal.II/base/task_result.h index 54f706b7cf..f00fc958f8 100644 --- a/include/deal.II/base/task_result.h +++ b/include/deal.II/base/task_result.h @@ -196,7 +196,7 @@ namespace Threads * represents anything and is left as if default-constructed. */ TaskResult & - operator=(TaskResult &&); + operator=(TaskResult &&) noexcept; /** * Copy assignment operator from a Task object. By assigning the Task @@ -444,7 +444,7 @@ namespace Threads template inline TaskResult & - TaskResult::operator=(TaskResult &&other) + TaskResult::operator=(TaskResult &&other) noexcept { // First clear the current object before we put new content into it: clear();