From 0b464d483b6420918962fac0d595b5902237a93f Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Wed, 6 Feb 2013 16:46:40 +0000 Subject: [PATCH] Fix GCC 4.6 build by avoiding delegating ctors Patch by Abid Hafiz! llvm-svn: 174519 --- lldb/source/DataFormatters/FormatCache.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lldb/source/DataFormatters/FormatCache.cpp b/lldb/source/DataFormatters/FormatCache.cpp index 67a2e9e..69f32ec 100644 --- a/lldb/source/DataFormatters/FormatCache.cpp +++ b/lldb/source/DataFormatters/FormatCache.cpp @@ -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); -- 2.7.4