From: Wolfgang Bangerth Date: Wed, 5 Jul 2023 00:16:31 +0000 (-0600) Subject: Change argument to reference to avoid unnecessary copies. X-Git-Tag: relicensing~741^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15623%2Fhead;p=dealii.git Change argument to reference to avoid unnecessary copies. --- diff --git a/include/deal.II/lac/trilinos_epetra_vector.h b/include/deal.II/lac/trilinos_epetra_vector.h index e65d0ca6f6..0c4cbb7a78 100644 --- a/include/deal.II/lac/trilinos_epetra_vector.h +++ b/include/deal.II/lac/trilinos_epetra_vector.h @@ -147,10 +147,11 @@ namespace LinearAlgebra */ DEAL_II_DEPRECATED void - import(const ReadWriteVector &V, - VectorOperation::values operation, - std::shared_ptr - communication_pattern = {}) + import( + const ReadWriteVector &V, + const VectorOperation::values operation, + const std::shared_ptr + &communication_pattern = {}) { import_elements(V, operation, communication_pattern); }