From 87923fc081522f3dcfcc03ed23237c429172f856 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 6 Apr 2010 04:01:35 +0000 Subject: [PATCH] Disambiguate comparison with 0 for gcc 4.5. git-svn-id: https://svn.dealii.org/trunk@20942 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/logstream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/base/source/logstream.cc b/deal.II/base/source/logstream.cc index 76d930f8ac..b6c18fbfb2 100644 --- a/deal.II/base/source/logstream.cc +++ b/deal.II/base/source/logstream.cc @@ -141,7 +141,7 @@ LogStream::get_stream() const unsigned int id = Threads::this_thread_id(); std_cxx1x::shared_ptr& sptr = outstreams[id]; - if (sptr == 0) + if (sptr == std_cxx1x::shared_ptr()) { sptr = std_cxx1x::shared_ptr (new std::ostringstream()); sptr->setf(std::ios::showpoint | std::ios::left); -- 2.39.5