diff options
Diffstat (limited to 'lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp')
| -rw-r--r-- | lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp b/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp index f1bfadd662a..068b1b10e72 100644 --- a/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp +++ b/lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp @@ -32,7 +32,7 @@ using namespace lldb_private; static uint32_t g_initialize_count = 0; -Platform * +PlatformSP PlatformKalimba::CreateInstance (bool force, const ArchSpec *arch) { bool create = force; @@ -50,8 +50,8 @@ PlatformKalimba::CreateInstance (bool force, const ArchSpec *arch) } } if (create) - return new PlatformKalimba(false); - return NULL; + return PlatformSP(new PlatformKalimba(false)); + return PlatformSP(); } lldb_private::ConstString |

