diff options
Diffstat (limited to 'lldb/source/API/SBCommandInterpreter.cpp')
-rw-r--r-- | lldb/source/API/SBCommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBCommandInterpreter.cpp b/lldb/source/API/SBCommandInterpreter.cpp index 7a1ef1a7783..42f6e51c792 100644 --- a/lldb/source/API/SBCommandInterpreter.cpp +++ b/lldb/source/API/SBCommandInterpreter.cpp @@ -551,7 +551,7 @@ SBCommandInterpreter::GetArgumentDescriptionAsCString (const lldb::CommandArgume bool SBCommandInterpreter::EventIsCommandInterpreterEvent (const lldb::SBEvent &event) { - return strcmp (event.GetBroadcasterClass(), SBCommandInterpreter::GetBroadcasterClass()) == 0; + return event.GetBroadcasterClass() == SBCommandInterpreter::GetBroadcasterClass(); } bool |