]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change argument to reference to avoid unnecessary copies. 15623/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 5 Jul 2023 00:16:31 +0000 (18:16 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 5 Jul 2023 00:16:31 +0000 (18:16 -0600)
include/deal.II/lac/trilinos_epetra_vector.h

index e65d0ca6f66fe8ec7367ec56fd3ac3b5394785de..0c4cbb7a78097a89fd7db32828f44837b384b0c5 100644 (file)
@@ -147,10 +147,11 @@ namespace LinearAlgebra
        */
       DEAL_II_DEPRECATED
       void
-      import(const ReadWriteVector<double> &V,
-             VectorOperation::values        operation,
-             std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
-               communication_pattern = {})
+      import(
+        const ReadWriteVector<double> &V,
+        const VectorOperation::values  operation,
+        const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
+          &communication_pattern = {})
       {
         import_elements(V, operation, communication_pattern);
       }

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.