diff options
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp')
-rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp index dd6d93815e5..8058efc9971 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp @@ -83,7 +83,7 @@ PlatformRemoteiOS::Terminate () } } -Platform* +PlatformSP PlatformRemoteiOS::CreateInstance (bool force, const ArchSpec *arch) { bool create = force; @@ -144,8 +144,8 @@ PlatformRemoteiOS::CreateInstance (bool force, const ArchSpec *arch) } if (create) - return new PlatformRemoteiOS (); - return NULL; + return lldb::PlatformSP(new PlatformRemoteiOS ()); + return lldb::PlatformSP(); } |