summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/FormatCache.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-02-06 16:46:40 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-02-06 16:46:40 +0000
commit0b464d483b6420918962fac0d595b5902237a93f (patch)
tree92dafaebba2ff684c1821746512a581f75f464f9 /lldb/source/DataFormatters/FormatCache.cpp
parent228d9d3aa25f95c3fae5b38aa58d82e17f465ab8 (diff)
downloadbcm5719-llvm-0b464d483b6420918962fac0d595b5902237a93f.tar.gz
bcm5719-llvm-0b464d483b6420918962fac0d595b5902237a93f.zip
Fix GCC 4.6 build by avoiding delegating ctors
Patch by Abid Hafiz! llvm-svn: 174519
Diffstat (limited to 'lldb/source/DataFormatters/FormatCache.cpp')
-rw-r--r--lldb/source/DataFormatters/FormatCache.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/lldb/source/DataFormatters/FormatCache.cpp b/lldb/source/DataFormatters/FormatCache.cpp
index 67a2e9e802f..69f32ec8670 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);
OpenPOWER on IntegriCloud