From c21b603cf37a3aaa9538ed4725a59c2d723a4fe2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 24 Jul 2024 10:55:39 -0600 Subject: [PATCH] Mark move operator as 'noexcept'. --- include/deal.II/base/task_result.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5