]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix to make compile with clang-no-c++11. 2463/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 5 Apr 2016 13:50:57 +0000 (09:50 -0400)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 5 Apr 2016 13:50:57 +0000 (09:50 -0400)
include/deal.II/lac/la_vector.h

index 86b23bf715255b80d437b11e5dcd2f774608ff20..e14c508fbe0962358007bd5ce52ae5d8f26ddf99 100644 (file)
@@ -138,7 +138,8 @@ namespace LinearAlgebra
     virtual void import(const ReadWriteVector<Number> &V,
                         VectorOperation::values operation,
                         std_cxx11::shared_ptr<const CommunicationPatternBase>
-                        communication_pattern = NULL);
+                        communication_pattern =
+                          std_cxx11::shared_ptr<const CommunicationPatternBase>());
 
     /**
      * Add @p a to all components. Note that @p a is a scalar not a vector.

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.