aboutsummaryrefslogtreecommitdiff
path: root/tools/lldb-mi/MICmdArgValConsume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lldb-mi/MICmdArgValConsume.cpp')
-rw-r--r--tools/lldb-mi/MICmdArgValConsume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lldb-mi/MICmdArgValConsume.cpp b/tools/lldb-mi/MICmdArgValConsume.cpp
index 5a76ab4b56f5..86c4f0912565 100644
--- a/tools/lldb-mi/MICmdArgValConsume.cpp
+++ b/tools/lldb-mi/MICmdArgValConsume.cpp
@@ -67,7 +67,7 @@ bool CMICmdArgValConsume::Validate(CMICmdArgContext &vwArgContext) {
while (it != vecOptions.end()) {
const CMIUtilString &rTxt(*it);
- if (rTxt.compare("--") == 0) {
+ if (rTxt == "--") {
m_bFound = true;
m_bValid = true;
if (!vwArgContext.RemoveArg(rTxt))