]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Compilers have had std::i/ostringstream for a long time. Remove alternative.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Sep 2012 13:13:13 +0000 (13:13 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Sep 2012 13:13:13 +0000 (13:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@26281 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_abf.cc

index fd1459541db6fb18b6b885faa7f8000c604a6d79..1d20185a11ccfa5338f7575d445ddb8134f5b29c 100644 (file)
 #include <deal.II/fe/fe_values.h>
 #include <deal.II/fe/fe_tools.h>
 
-#ifdef HAVE_STD_STRINGSTREAM
-#  include <sstream>
-#else
-#  include <strstream>
-#endif
-
+#include <sstream>
 #include <iostream>
 
 //TODO: implement the adjust_quad_dof_index_for_face_orientation_table and
@@ -118,17 +113,10 @@ FE_ABF<dim>::get_name () const
                                    // this function returns, so they
                                    // have to be kept in synch
 
-#ifdef HAVE_STD_STRINGSTREAM
   std::ostringstream namebuf;
-#else
-  std::ostrstream namebuf;
-#endif
 
   namebuf << "FE_ABF<" << dim << ">(" << rt_order << ")";
 
-#ifndef HAVE_STD_STRINGSTREAM
-  namebuf << std::ends;
-#endif
   return namebuf.str();
 }
 

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.