]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use namespace std_cxx1x instead of boost.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 7 May 2010 20:40:16 +0000 (20:40 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 7 May 2010 20:40:16 +0000 (20:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@21099 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/named_data.cc

index 5a71a3656c7d947a4b2d3676414fc431a05a6449..a5f9cd2a2fe1beb4994973c3591f9b0f5dff37d6 100644 (file)
@@ -53,17 +53,17 @@ test_selector(const NamedData<DATA>& data)
 void
 test_shared_pointer()
 {
-  NamedData<boost::shared_ptr<double> > data;
+  NamedData<std_cxx1x::shared_ptr<double> > data;
   deallog << "const" << data.is_const() << std::endl;
-  boost::shared_ptr<double> p = boost::shared_ptr<double>(new double);
+  std_cxx1x::shared_ptr<double> p = std_cxx1x::shared_ptr<double>(new double);
   data.add(p, "P1");
-  p = boost::shared_ptr<double>(new double);
+  p = std_cxx1x::shared_ptr<double>(new double);
   data.add(p, "P2");
-  p = boost::shared_ptr<double>(new double);
+  p = std_cxx1x::shared_ptr<double>(new double);
   data.add(p, "P3");
-  p = boost::shared_ptr<double>(new double);
+  p = std_cxx1x::shared_ptr<double>(new double);
   data.add(p, "P4");
-  p = boost::shared_ptr<double>(new double);
+  p = std_cxx1x::shared_ptr<double>(new double);
   data.add(p, "P5");
 
   for (unsigned int i=0;i<data.size();++i)

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.