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=c21b603cf37a3aaa9538ed4725a59c2d723a4fe2;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();