Fix GCC 4.6 build by avoiding delegating ctors
authorDaniel Malea <daniel.malea@intel.com>
Wed, 6 Feb 2013 16:46:40 +0000 (16:46 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Wed, 6 Feb 2013 16:46:40 +0000 (16:46 +0000)
Patch by Abid Hafiz!

llvm-svn: 174519

lldb/source/DataFormatters/FormatCache.cpp

index 67a2e9e..69f32ec 100644 (file)
@@ -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);