From: Sebastian Kinnewig Date: Sat, 28 Oct 2023 10:16:45 +0000 (+0200) Subject: Fix warnings X-Git-Tag: relicensing~345^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1b383c3aa4bdffe385f1f4b83f3845899fd87df;p=dealii.git Fix warnings --- diff --git a/include/deal.II/lac/trilinos_tpetra_vector.h b/include/deal.II/lac/trilinos_tpetra_vector.h index 847c68869b..50a037292f 100644 --- a/include/deal.II/lac/trilinos_tpetra_vector.h +++ b/include/deal.II/lac/trilinos_tpetra_vector.h @@ -718,7 +718,7 @@ namespace LinearAlgebra /** * Return the mpi communicator */ - const MPI_Comm + MPI_Comm mpi_comm() const; /** @} */ diff --git a/include/deal.II/lac/trilinos_tpetra_vector.templates.h b/include/deal.II/lac/trilinos_tpetra_vector.templates.h index 1546012d51..6efa82c6ed 100644 --- a/include/deal.II/lac/trilinos_tpetra_vector.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_vector.templates.h @@ -291,8 +291,8 @@ namespace LinearAlgebra Vector::import_elements( const ReadWriteVector &V, VectorOperation::values operation, - const std::shared_ptr - &communication_pattern) + [[maybe_unused]] const std::shared_ptr< + const Utilities::MPI::CommunicationPatternBase> &communication_pattern) { import_elements(V, operation); } @@ -731,7 +731,7 @@ namespace LinearAlgebra template - const MPI_Comm + MPI_Comm Vector::mpi_comm() const { MPI_Comm out;