]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable clang-tidy
authorDavid Wells <drwells@email.unc.edu>
Fri, 25 Jun 2021 18:36:17 +0000 (14:36 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 28 Jun 2021 15:19:46 +0000 (11:19 -0400)
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/la_parallel_vector.templates.h

index 842dfa0b839a12ac6e461d4f99f5db2ac035f3b6..a55921da4fe78b410ad22ba8b9f62d7900e1331e 100644 (file)
@@ -284,8 +284,12 @@ namespace LinearAlgebra
 
       /**
        * Move constructor. Uses the swap method.
+       *
+       * @note In order for this constructor to leave the moved-from object in a
+       * valid state it must allocate memory (in this case, an empty
+       * partitioner) - hence it cannot be marked as noexcept.
        */
-      Vector(Vector<Number, MemorySpace> &&in_vector);
+      Vector(Vector<Number, MemorySpace> &&in_vector); // NOLINT
 
       /**
        * Construct a parallel vector of the given global size without any
index 7050732328d479c2b0e0d1fb7610ade5a7d3eb44..2df316445a7b8c90ed345e5ecfd1a7e49313e6e6 100644 (file)
@@ -712,7 +712,8 @@ namespace LinearAlgebra
 
 
     template <typename Number, typename MemorySpaceType>
-    Vector<Number, MemorySpaceType>::Vector(Vector<Number, MemorySpaceType> &&v)
+    Vector<Number, MemorySpaceType>::Vector( // NOLINT
+      Vector<Number, MemorySpaceType> &&v) // NOLINT
       : Vector()
     {
       static_cast<Subscriptor &>(*this) = static_cast<Subscriptor &&>(v);

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.