[Lldb-commits] [lldb] r173870 - Fix build problems with libstdc++ 4.6/4.7

Daniel Malea daniel.malea at intel.com
Tue Jan 29 17:01:11 PST 2013


Author: dmalea
Date: Tue Jan 29 19:01:11 2013
New Revision: 173870

URL: http://llvm.org/viewvc/llvm-project?rev=173870&view=rev
Log:
Fix build problems with libstdc++ 4.6/4.7
- remove nullptr from initialization of shared_ptrs


Modified:
    lldb/trunk/source/DataFormatters/FormatCache.cpp

Modified: lldb/trunk/source/DataFormatters/FormatCache.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatCache.cpp?rev=173870&r1=173869&r2=173870&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatCache.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatCache.cpp Tue Jan 29 19:01:11 2013
@@ -22,8 +22,8 @@ using namespace lldb_private;
 FormatCache::Entry::Entry () :
 m_summary_cached(false),
 m_synthetic_cached(false),
-m_summary_sp(nullptr),
-m_synthetic_sp(nullptr)
+m_summary_sp(),
+m_synthetic_sp()
 {}
 
 FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp) : FormatCache::Entry()





More information about the lldb-commits mailing list