summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2012-11-12 21:02:14 +0000
committerDaniel Malea <daniel.malea@intel.com>2012-11-12 21:02:14 +0000
commitd4c5be61f29b8ed0b4e6a435264c601cd06c60f4 (patch)
treecbfe03caa7ab115f23154802f91fa3c15dd420d9 /lldb/source/Plugins/SymbolFile
parent263280248a28d23bc6dd664c77a2bec87bec9b9a (diff)
downloadbcm5719-llvm-d4c5be61f29b8ed0b4e6a435264c601cd06c60f4.tar.gz
bcm5719-llvm-d4c5be61f29b8ed0b4e6a435264c601cd06c60f4.zip
Fix libstdc++ build
- Add missing operator= definition for DelayedAddObjCClassProperty - needed to be compatible with libstdc++ vector implementation llvm-svn: 167747
Diffstat (limited to 'lldb/source/Plugins/SymbolFile')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index f488eb5b2b9..5eb1e40a22e 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
OpenPOWER on IntegriCloud