]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove noexcept on TriaAccessor move constructor and assignment operator 12315/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:29:33 +0000 (19:29 +0200)
To avoid a compilation error with clang 6.0.0.

include/deal.II/grid/tria_accessor.h

index 8d30f80bb6a12f54afaedc0e9a83782586ef59de..49ff747a0b3e3911587c4d30846986866237c377 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.