]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove noexcept on TriaAccessor move constructor and assignment operator 12316/head
authorSimon Sticko <simon@sticko.se>
Wed, 26 May 2021 15:30:01 +0000 (17:30 +0200)
committerSimon Sticko <simon@sticko.se>
Wed, 26 May 2021 17:31:46 +0000 (19:31 +0200)
To avoid a compilation error with clang 6.0.0.

include/deal.II/grid/tria_accessor.h

index 328fc8942dc71ca8501dea29886a446e67c0572f..e11331643502ff838154096ed55421e575587906 100644 (file)
@@ -729,7 +729,7 @@ public:
   /**
    * Move constructor.
    */
-  TriaAccessor(TriaAccessor &&) noexcept = default;
+  TriaAccessor(TriaAccessor &&) = default; // NOLINT
 
   /**
    * Conversion constructor. This constructor exists to make certain
@@ -769,7 +769,7 @@ public:
    * Move assignment operator. Moving is allowed.
    */
   TriaAccessor &
-  operator=(TriaAccessor &&) noexcept = default;
+  operator=(TriaAccessor &&) = default; // NOLINT
 
   /**
    * 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.