diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-30 17:34:06 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-30 17:34:06 (GMT) |
commit | 602b78aa79f6d99e775fa0a84fb441156d192833 (patch) | |
tree | 41e41ce60fd8eefb7e34db35884bfa9925d73c8b /Source/cmFileCommand.cxx | |
parent | c58c739da7287a1cb33558f4e121ecdb23cfadd9 (diff) | |
download | CMake-602b78aa79f6d99e775fa0a84fb441156d192833.zip CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.gz CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.bz2 |
Remove redundant c_str() calls
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 6285894..ac76191 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -2600,7 +2600,7 @@ bool cmFileCommand::HandleDownloadCommand(std::vector<std::string> const& args) // Do not return error for compatibility reason. std::string err = "Unexpected argument: "; err += *i; - this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, err.c_str()); + this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, err); } ++i; } @@ -2884,7 +2884,7 @@ bool cmFileCommand::HandleUploadCommand(std::vector<std::string> const& args) // Do not return error for compatibility reason. std::string err = "Unexpected argument: "; err += *i; - this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, err.c_str()); + this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, err); } ++i; |