diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 08:57:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-25 17:55:34 (GMT) |
commit | 6ce940ac9701c93be01ed169c6bd23b22e04782f (patch) | |
tree | a772611160eeee031c2a6f25d7e4b0fae7a42736 /Source/cmProjectCommand.cxx | |
parent | e8c0341d86e3f2b9658dfc594641f9ba1b29165b (diff) | |
download | CMake-6ce940ac9701c93be01ed169c6bd23b22e04782f.zip CMake-6ce940ac9701c93be01ed169c6bd23b22e04782f.tar.gz CMake-6ce940ac9701c93be01ed169c6bd23b22e04782f.tar.bz2 |
cmMakefile: Use std::string in ProjectName API.
Diffstat (limited to 'Source/cmProjectCommand.cxx')
-rw-r--r-- | Source/cmProjectCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx index 46d7e01..7123125 100644 --- a/Source/cmProjectCommand.cxx +++ b/Source/cmProjectCommand.cxx @@ -20,7 +20,7 @@ bool cmProjectCommand this->SetError("PROJECT called with incorrect number of arguments"); return false; } - this->Makefile->SetProjectName(args[0].c_str()); + this->Makefile->SetProjectName(args[0]); std::string bindir = args[0]; bindir += "_BINARY_DIR"; |