summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-10-30 17:34:06 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-10-30 17:34:06 (GMT)
commit602b78aa79f6d99e775fa0a84fb441156d192833 (patch)
tree41e41ce60fd8eefb7e34db35884bfa9925d73c8b /Source/cmBuildCommand.cxx
parentc58c739da7287a1cb33558f4e121ecdb23cfadd9 (diff)
downloadCMake-602b78aa79f6d99e775fa0a84fb441156d192833.zip
CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.gz
CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.bz2
Remove redundant c_str() calls
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r--Source/cmBuildCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx
index d03b8c4..6836151 100644
--- a/Source/cmBuildCommand.cxx
+++ b/Source/cmBuildCommand.cxx
@@ -90,8 +90,7 @@ bool cmBuildCommand::MainSignature(std::vector<std::string> const& args)
std::string makecommand =
this->Makefile->GetGlobalGenerator()->GenerateCMakeBuildCommand(
- target, configuration.c_str(), "",
- this->Makefile->IgnoreErrorsCMP0061());
+ target, configuration, "", this->Makefile->IgnoreErrorsCMP0061());
this->Makefile->AddDefinition(variable, makecommand.c_str());