From: bangerth Date: Sat, 27 Apr 2013 01:03:10 +0000 (+0000) Subject: Work around a problem with some compilers. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c8b290f221f12884945b3879a1d8d3709adb6c;p=dealii-svn.git Work around a problem with some compilers. git-svn-id: https://svn.dealii.org/trunk@29389 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/logstream.h b/deal.II/include/deal.II/base/logstream.h index 98617b69a8..0f325e2ab2 100644 --- a/deal.II/include/deal.II/base/logstream.h +++ b/deal.II/include/deal.II/base/logstream.h @@ -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);