]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark destructor and move assignment operator as noexcept
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 21:57:41 +0000 (17:57 -0400)
include/deal.II/grid/tria_accessor.h

index f3541bb3f7e3877e7725b8511e9e0d5701c48da8..a0623e9827a4c9575d2a25b3a50b52768dcc0d2c 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.