From: Daniel Arndt Date: Thu, 25 May 2023 18:37:22 +0000 (-0400) Subject: Make clang-tidy happy X-Git-Tag: v9.5.0-rc1~177^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=925eba61d7765056599cbd2fe28a51c78b5079e0;p=dealii.git Make clang-tidy happy --- diff --git a/include/deal.II/lac/trilinos_tpetra_vector.h b/include/deal.II/lac/trilinos_tpetra_vector.h index e5d1bd55c8..84b9fd14c0 100644 --- a/include/deal.II/lac/trilinos_tpetra_vector.h +++ b/include/deal.II/lac/trilinos_tpetra_vector.h @@ -194,7 +194,7 @@ namespace LinearAlgebra */ DEAL_II_DEPRECATED_EARLY virtual void - import(const ReadWriteVector &V, + import(const ReadWriteVector &V, VectorOperation::values operation, std::shared_ptr communication_pattern = {}) override diff --git a/include/deal.II/matrix_free/cuda_matrix_free.h b/include/deal.II/matrix_free/cuda_matrix_free.h index a30d57b260..18371f2489 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.h @@ -432,13 +432,13 @@ namespace CUDAWrappers */ template void - internal_reinit(const Mapping & mapping, - const DoFHandler & dof_handler, - const AffineConstraints &constraints, - const Quadrature<1> & quad, - const IteratorFiltersType & iterator_filter, - std::shared_ptr comm, - const AdditionalData additional_data); + internal_reinit(const Mapping & mapping, + const DoFHandler & dof_handler, + const AffineConstraints & constraints, + const Quadrature<1> & quad, + const IteratorFiltersType & iterator_filter, + const std::shared_ptr &comm, + const AdditionalData additional_data); /** * Helper function. Loop over all the cells and apply the functor on each diff --git a/include/deal.II/matrix_free/cuda_matrix_free.templates.h b/include/deal.II/matrix_free/cuda_matrix_free.templates.h index b09be81b44..6814af2c7c 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.templates.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.templates.h @@ -665,13 +665,13 @@ namespace CUDAWrappers template void MatrixFree::internal_reinit( - const Mapping & mapping, - const DoFHandler & dof_handler_, - const AffineConstraints &constraints, - const Quadrature<1> & quad, - const IteratorFiltersType & iterator_filter, - std::shared_ptr comm, - const AdditionalData additional_data) + const Mapping & mapping, + const DoFHandler & dof_handler_, + const AffineConstraints & constraints, + const Quadrature<1> & quad, + const IteratorFiltersType & iterator_filter, + const std::shared_ptr &comm, + const AdditionalData additional_data) { dof_handler = &dof_handler_;