]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around a problem with some compilers.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Apr 2013 01:03:10 +0000 (01:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Apr 2013 01:03:10 +0000 (01:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@29389 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/logstream.h

index 98617b69a8342436fa931355f331ec4622723b0a..0f325e2ab216f6e9ea957ee11a12129fda3bfdce 100644 (file)
@@ -567,7 +567,7 @@ LogStream::get_stream()
   // note that in all of this we need not worry about thread-safety
   // because we operate on a thread-local object and by definition
   // there can only be one access at a time
-  if (outstreams.get() == 0)
+  if (outstreams.get().get() == 0)
     {
       outstreams.get().reset (new std::ostringstream);
       outstreams.get()->setf(std::ios::showpoint | std::ios::left);

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.