From: Wolfgang Bangerth Date: Wed, 24 Jul 2024 16:55:39 +0000 (-0600) Subject: Mark move operator as 'noexcept'. X-Git-Tag: v9.6.0-rc2~9^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70aaa3d565692d3ecfc7a7b6377d185d5e7e6fc4;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();