[lldb-mi] Remove unnecessary const_cast.

Summary: Remove unnecessary const_cast.

Reviewers: abidh, ki.stfu

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10928

llvm-svn: 241359
This commit is contained in:
Bruce Mitchener 2015-07-03 15:31:32 +00:00
parent 44519f8608
commit 201dec7dc2
1 changed files with 1 additions and 1 deletions

View File

@ -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;