Fix GCC 4.6 build by avoiding delegating ctors

Patch by Abid Hafiz!

llvm-svn: 174519
This commit is contained in:
Daniel Malea 2013-02-06 16:46:40 +00:00
parent 228d9d3aa2
commit 0b464d483b
1 changed files with 7 additions and 3 deletions

View 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);