[Lldb-commits] [lldb] r174519 - Fix GCC 4.6 build by avoiding delegating ctors

Daniel Malea daniel.malea at intel.com
Wed Feb 6 08:46:40 PST 2013


Author: dmalea
Date: Wed Feb  6 10:46:40 2013
New Revision: 174519

URL: http://llvm.org/viewvc/llvm-project?rev=174519&view=rev
Log:
Fix GCC 4.6 build by avoiding delegating ctors

Patch by Abid Hafiz!


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=174519&r1=174518&r2=174519&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatCache.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatCache.cpp Wed Feb  6 10:46:40 2013
@@ -26,17 +26,21 @@ m_summary_sp(),
 m_synthetic_sp()
 {}
 
-FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp) : FormatCache::Entry()
+FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp) :
+m_synthetic_cached(false),
+m_synthetic_sp()
 {
     SetSummary (summary_sp);
 }
 
-FormatCache::Entry::Entry (lldb::SyntheticChildrenSP synthetic_sp) : FormatCache::Entry()
+FormatCache::Entry::Entry (lldb::SyntheticChildrenSP synthetic_sp) :
+m_summary_cached(false),
+m_summary_sp()
 {
     SetSynthetic (synthetic_sp);
 }
 
-FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp,lldb::SyntheticChildrenSP synthetic_sp) : FormatCache::Entry()
+FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp,lldb::SyntheticChildrenSP synthetic_sp)
 {
     SetSummary (summary_sp);
     SetSynthetic (synthetic_sp);





More information about the lldb-commits mailing list