]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark two functions 'noexcept'. 10912/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 14 Sep 2020 12:58:56 +0000 (06:58 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 15 Sep 2020 23:11:03 +0000 (17:11 -0600)
include/deal.II/lac/affine_constraints.h

index fa51895567a60b99d4d86ebe7337a52d9038427c..11c04524484d446cfcdd0370fe6bf15e98b252d9 100644 (file)
@@ -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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.