]> https://gitweb.dealii.org/ - dealii.git/commitdiff
removed [[maybe_unused]] - and (void) cast - according to change request after 1st... 17753/head
authorStephan Voss <stvoss@gmx.de>
Tue, 8 Oct 2024 09:58:03 +0000 (11:58 +0200)
committerStephan Voss <stvoss@gmx.de>
Tue, 8 Oct 2024 09:58:03 +0000 (11:58 +0200)
include/deal.II/matrix_free/operators.h
include/deal.II/matrix_free/tools.h

index f1b3fd2d38ad125e3efda59e62561aef0c76f51c..7d9f0b0f753737f007bb24585c85ca8e8f325e79 100644 (file)
@@ -1261,9 +1261,8 @@ namespace MatrixFreeOperators
 
   template <int dim, typename VectorType, typename VectorizedArrayType>
   typename Base<dim, VectorType, VectorizedArrayType>::value_type
-  Base<dim, VectorType, VectorizedArrayType>::el(
-    const unsigned int                  row,
-    [[maybe_unused]] const unsigned int col) const
+  Base<dim, VectorType, VectorizedArrayType>::el(const unsigned int row,
+                                                 const unsigned int col) const
   {
     Assert(row == col, ExcNotImplemented());
     Assert(inverse_diagonal_entries.get() != nullptr &&
index e17d65414c273db3919d1113319ae44a2b5ec23f..34647679450a8b20bc2df56e888043cebb0914a5 100644 (file)
@@ -1466,10 +1466,10 @@ namespace MatrixFreeTools
     const QuadOperation                                     &quad_operation,
     EvaluationFlags::EvaluationFlags                         evaluation_flags,
     EvaluationFlags::EvaluationFlags                         integration_flags,
-    [[maybe_unused]] const unsigned int                      dof_no,
-    [[maybe_unused]] const unsigned int                      quad_no,
-    [[maybe_unused]] const unsigned int first_selected_component,
-    [[maybe_unused]] const unsigned int first_vector_component)
+    const unsigned int                                       dof_no,
+    const unsigned int                                       quad_no,
+    const unsigned int first_selected_component,
+    const unsigned int first_vector_component)
   {
     Assert(dof_no == 0, ExcNotImplemented());
     Assert(quad_no == 0, ExcNotImplemented());

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.