summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBDeclaration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBDeclaration.cpp')
-rw-r--r--lldb/source/API/SBDeclaration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBDeclaration.cpp b/lldb/source/API/SBDeclaration.cpp
index 2bba12d65d5..fc90156e75a 100644
--- a/lldb/source/API/SBDeclaration.cpp
+++ b/lldb/source/API/SBDeclaration.cpp
@@ -73,7 +73,7 @@ SBDeclaration::IsValid () const
SBFileSpec
SBDeclaration::GetFileSpec () const
{
- LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
+ Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
SBFileSpec sb_file_spec;
if (m_opaque_ap.get() && m_opaque_ap->GetFile())
@@ -93,7 +93,7 @@ SBDeclaration::GetFileSpec () const
uint32_t
SBDeclaration::GetLine () const
{
- LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
+ Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
uint32_t line = 0;
if (m_opaque_ap.get())
OpenPOWER on IntegriCloud