diff options
Diffstat (limited to 'tools/lldb-mi/MICmdInterpreter.cpp')
-rw-r--r-- | tools/lldb-mi/MICmdInterpreter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lldb-mi/MICmdInterpreter.cpp b/tools/lldb-mi/MICmdInterpreter.cpp index ce5d30e..3c5285f 100644 --- a/tools/lldb-mi/MICmdInterpreter.cpp +++ b/tools/lldb-mi/MICmdInterpreter.cpp @@ -153,7 +153,7 @@ bool CMICmdInterpreter::MiHasCmdTokenEndingHyphen(const CMIUtilString &vTextLine) { // The hyphen is mandatory - const size_t nPos = vTextLine.find("-", 0); + const size_t nPos = vTextLine.find('-', 0); if ((nPos == std::string::npos)) return false; @@ -215,7 +215,7 @@ CMICmdInterpreter::MiHasCmdTokenEndingAlpha(const CMIUtilString &vTextLine) bool CMICmdInterpreter::MiHasCmdTokenPresent(const CMIUtilString &vTextLine) { - const size_t nPos = vTextLine.find("-", 0); + const size_t nPos = vTextLine.find('-', 0); return (nPos > 0); } @@ -246,12 +246,12 @@ CMICmdInterpreter::MiHasCmd(const CMIUtilString &vTextLine) } else { - nPos = vTextLine.find("-", 0); + nPos = vTextLine.find('-', 0); } bool bFoundCmd = false; const size_t nLen = vTextLine.length(); - const size_t nPos2 = vTextLine.find(" ", nPos); + const size_t nPos2 = vTextLine.find(' ', nPos); if (nPos2 != std::string::npos) { if (nPos2 == nLen) |