diff options
Diffstat (limited to 'lldb/source/API/SBHostOS.cpp')
-rw-r--r-- | lldb/source/API/SBHostOS.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/API/SBHostOS.cpp b/lldb/source/API/SBHostOS.cpp index b8aa94d97a1..b5464c4e7df 100644 --- a/lldb/source/API/SBHostOS.cpp +++ b/lldb/source/API/SBHostOS.cpp @@ -107,8 +107,9 @@ lldb::thread_t SBHostOS::ThreadCreate(const char *name, LLDB_RECORD_DUMMY(lldb::thread_t, SBHostOS, ThreadCreate, (lldb::thread_func_t, void *, SBError *), name, thread_function, thread_arg, error_ptr); - HostThread thread(ThreadLauncher::LaunchThread( - name, thread_function, thread_arg, error_ptr ? error_ptr->get() : NULL)); + HostThread thread( + ThreadLauncher::LaunchThread(name, thread_function, thread_arg, + error_ptr ? error_ptr->get() : nullptr)); return thread.Release(); } |