]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Actually, use boost::scoped_ptr instead since unique_ptr turns out to be
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 7 Aug 2009 17:00:17 +0000 (17:00 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 7 Aug 2009 17:00:17 +0000 (17:00 +0000)
copyable (movable) after all.

git-svn-id: https://svn.dealii.org/trunk@19199 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/constraint_matrix.h

index 975016e0927eaba411b55aa767d4abebe55bab73..0a9dfa40a5ab63f79c43b110c298753e9deec010 100644 (file)
@@ -19,7 +19,6 @@
 #include <base/subscriptor.h>
 #include <base/table.h>
 #include <base/template_constraints.h>
-#include <base/std_cxx1x/shared_ptr.h>
 
 #include <lac/trilinos_vector.h>
 
@@ -27,6 +26,9 @@
 #include <map>
 #include <utility>
 
+#include <boost/scoped_ptr.hpp>
+
+
 DEAL_II_NAMESPACE_OPEN
 
 template<int dim, class T> class Table;
@@ -1535,7 +1537,7 @@ class ConstraintMatrix : public Subscriptor
                                       * This vector is used to import data
                                       * within the distribute function.
                                       */
-    mutable std_cxx1x::unique_ptr<TrilinosWrappers::MPI::Vector> vec_distribute;
+    mutable boost::scoped_ptr<TrilinosWrappers::MPI::Vector> vec_distribute;
 #endif
 };
 

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.