]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use new namespace std_cxx0x.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Jan 2009 04:02:33 +0000 (04:02 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Jan 2009 04:02:33 +0000 (04:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@18198 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-22/step-22.cc

index 205b8cc518e6e632021604a6c7676e48dfbce89b..644c7457836e2703054548d3fe0f26cbe45e1708 100644 (file)
@@ -3,7 +3,7 @@
 
 /*    $Id$       */
 /*                                                                */
-/*    Copyright (C) 2008 by the deal.II authors */
+/*    Copyright (C) 2008, 2009 by the deal.II authors */
 /*                                                                */
 /*    This file is subject to QPL and may not be  distributed     */
 /*    without copyright and license information. Please refer     */
@@ -159,7 +159,7 @@ class StokesProblem
                                     // memory leak, and can never produce a
                                     // dangling pointer to an already
                                     // destroyed object:
-    boost::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
+    std_cxx0x::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
 };
 
                                 // @sect3{Boundary values and right hand side}
@@ -969,7 +969,7 @@ void StokesProblem<dim>::assemble_system ()
   std::cout << "   Computing preconditioner..." << std::endl << std::flush;
       
   A_preconditioner
-    = boost::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
+    = std_cxx0x::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
   A_preconditioner->initialize (system_matrix.block(0,0),
                                typename InnerPreconditioner<dim>::type::AdditionalData());
 

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.