diff options
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdArgValFile.cpp')
-rw-r--r-- | lldb/tools/lldb-mi/MICmdArgValFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-mi/MICmdArgValFile.cpp b/lldb/tools/lldb-mi/MICmdArgValFile.cpp index 7e40c17aef1..405abcfb7c2 100644 --- a/lldb/tools/lldb-mi/MICmdArgValFile.cpp +++ b/lldb/tools/lldb-mi/MICmdArgValFile.cpp @@ -182,7 +182,7 @@ bool CMICmdArgValFile::IsValidChars(const CMIUtilString &vrText) const { static CMIUtilString s_strSpecialCharacters(".'\"`@#$%^&*()_+-={}[]| "); - const char *pPtr = const_cast<char *>(vrText.c_str()); + const char *pPtr = vrText.c_str(); for (MIuint i = 0; i < vrText.length(); i++, pPtr++) { const char c = *pPtr; |