]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix clang-tidy
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Wed, 5 Apr 2023 18:14:16 +0000 (14:14 -0400)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Wed, 5 Apr 2023 18:14:16 +0000 (14:14 -0400)
include/deal.II/matrix_free/fe_point_evaluation.h

index 681a8f094edfb36370ab51444768be9621c8db3b..8365511b0aaf0d889814279483a73216dc1db702 100644 (file)
@@ -463,12 +463,12 @@ public:
   /**
    * Copy constructor.
    */
-  FEPointEvaluation(FEPointEvaluation &other);
+  FEPointEvaluation(FEPointEvaluation &other) noexcept;
 
   /**
    * Move constructor.
    */
-  FEPointEvaluation(FEPointEvaluation &&other);
+  FEPointEvaluation(FEPointEvaluation &&other) noexcept;
 
   /**
    * Destructor.
@@ -873,7 +873,7 @@ FEPointEvaluation<n_components, dim, spacedim, Number>::FEPointEvaluation(
 
 template <int n_components_, int dim, int spacedim, typename Number>
 FEPointEvaluation<n_components_, dim, spacedim, Number>::FEPointEvaluation(
-  FEPointEvaluation<n_components_, dim, spacedim, Number> &other)
+  FEPointEvaluation<n_components_, dim, spacedim, Number> &other) noexcept
   : n_q_points(other.n_q_points)
   , mapping(other.mapping)
   , fe(other.fe)
@@ -909,7 +909,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::FEPointEvaluation(
 
 template <int n_components_, int dim, int spacedim, typename Number>
 FEPointEvaluation<n_components_, dim, spacedim, Number>::FEPointEvaluation(
-  FEPointEvaluation<n_components_, dim, spacedim, Number> &&other)
+  FEPointEvaluation<n_components_, dim, spacedim, Number> &&other) noexcept
   : n_q_points(other.n_q_points)
   , mapping(other.mapping)
   , fe(other.fe)

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.