]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark destructor and move assignment operator as noexcept 12294/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 24 May 2021 19:31:57 +0000 (15:31 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 24 May 2021 19:31:57 +0000 (15:31 -0400)
include/deal.II/grid/tria_accessor.h

index 420667e4fb44561c40a52d034b0741d2be2b09bd..5f10eb6fb0fb6f42cdcc8c054626cebc8512a2d7 100644 (file)
@@ -729,7 +729,7 @@ public:
   /**
    * Move constructor.
    */
-  TriaAccessor(TriaAccessor &&) = default;
+  TriaAccessor(TriaAccessor &&) noexcept = default;
 
   /**
    * Conversion constructor. This constructor exists to make certain
@@ -769,7 +769,7 @@ public:
    * Move assignment operator. Moving is allowed.
    */
   TriaAccessor &
-  operator=(TriaAccessor &&) = default;
+  operator=(TriaAccessor &&) noexcept = default;
 
   /**
    * Defaulted destructor.

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.