summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-08-27 00:45:33 +0000
committerEnrico Granata <egranata@apple.com>2015-08-27 00:45:33 +0000
commitc0499c98488cf00ddeb3305c1b225555c130b728 (patch)
treedd2f643fffb18ec1ef7284fbd98a51bc59c66833 /lldb/source/API
parent08cb4fc688a9f1b195d8143ef63b0c74b724d17b (diff)
downloadbcm5719-llvm-c0499c98488cf00ddeb3305c1b225555c130b728.tar.gz
bcm5719-llvm-c0499c98488cf00ddeb3305c1b225555c130b728.zip
Switch data formatters over to using std::function for their callbacks instead of raw function pointers. NFC
llvm-svn: 246130
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBTypeSummary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBTypeSummary.cpp b/lldb/source/API/SBTypeSummary.cpp
index 2c114545419..b1fa4007814 100644
--- a/lldb/source/API/SBTypeSummary.cpp
+++ b/lldb/source/API/SBTypeSummary.cpp
@@ -315,7 +315,7 @@ SBTypeSummary::IsEqualTo (lldb::SBTypeSummary &rhs)
{
lldb_private::CXXFunctionSummaryFormat *self_cxx = (lldb_private::CXXFunctionSummaryFormat*)m_opaque_sp.get();
lldb_private::CXXFunctionSummaryFormat *other_cxx = (lldb_private::CXXFunctionSummaryFormat*)rhs.m_opaque_sp.get();
- return (self_cxx->m_impl == other_cxx->m_impl);
+ return (self_cxx == other_cxx);
}
if (m_opaque_sp->IsScripted() != rhs.m_opaque_sp->IsScripted())
OpenPOWER on IntegriCloud