From d4c5be61f29b8ed0b4e6a435264c601cd06c60f4 Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Mon, 12 Nov 2012 21:02:14 +0000 Subject: [PATCH] Fix libstdc++ build - Add missing operator= definition for DelayedAddObjCClassProperty - needed to be compatible with libstdc++ vector implementation llvm-svn: 167747 --- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp index f488eb5..5eb1e40 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp @@ -1504,6 +1504,11 @@ public: DelayedAddObjCClassProperty (const DelayedAddObjCClassProperty &rhs) { + *this = rhs; + } + + DelayedAddObjCClassProperty& operator= (const DelayedAddObjCClassProperty &rhs) + { m_ast = rhs.m_ast; m_class_opaque_type = rhs.m_class_opaque_type; m_property_name = rhs.m_property_name; @@ -1518,7 +1523,7 @@ public: m_metadata_ap.reset (new ClangASTMetadata()); *(m_metadata_ap.get()) = *(rhs.m_metadata_ap.get()); } - + return *this; } bool Finalize() const -- 2.7.4