From c963df1daa90425b80ab8bca600a6382981ddb3b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 14 Sep 2020 06:58:56 -0600 Subject: [PATCH] Mark two functions 'noexcept'. --- include/deal.II/lac/affine_constraints.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/affine_constraints.h b/include/deal.II/lac/affine_constraints.h index fa51895567..11c0452448 100644 --- a/include/deal.II/lac/affine_constraints.h +++ b/include/deal.II/lac/affine_constraints.h @@ -565,7 +565,8 @@ public: /** * Move constructor */ - AffineConstraints(AffineConstraints &&affine_constraints) = default; // NOLINT + AffineConstraints(AffineConstraints &&affine_constraints) noexcept = + default; // NOLINT /** * Copy operator. Like for many other large objects, this operator @@ -583,7 +584,8 @@ public: * Move assignment operator */ AffineConstraints & - operator=(AffineConstraints &&affine_constraints) = default; // NOLINT + operator=(AffineConstraints &&affine_constraints) noexcept = + default; // NOLINT /** * Copy the given object to the current one. -- 2.39.5