From 7944279304e13bb24b8be716a6aa0207180ec639 Mon Sep 17 00:00:00 2001 From: Stephan Voss Date: Tue, 8 Oct 2024 11:58:03 +0200 Subject: [PATCH] removed [[maybe_unused]] - and (void) cast - according to change request after 1st. review --- include/deal.II/matrix_free/operators.h | 5 ++--- include/deal.II/matrix_free/tools.h | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/deal.II/matrix_free/operators.h b/include/deal.II/matrix_free/operators.h index f1b3fd2d38..7d9f0b0f75 100644 --- a/include/deal.II/matrix_free/operators.h +++ b/include/deal.II/matrix_free/operators.h @@ -1261,9 +1261,8 @@ namespace MatrixFreeOperators template typename Base::value_type - Base::el( - const unsigned int row, - [[maybe_unused]] const unsigned int col) const + Base::el(const unsigned int row, + const unsigned int col) const { Assert(row == col, ExcNotImplemented()); Assert(inverse_diagonal_entries.get() != nullptr && diff --git a/include/deal.II/matrix_free/tools.h b/include/deal.II/matrix_free/tools.h index e17d65414c..3464767945 100644 --- a/include/deal.II/matrix_free/tools.h +++ b/include/deal.II/matrix_free/tools.h @@ -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()); -- 2.39.5