summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-02 08:57:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-25 17:55:34 (GMT)
commit6ce940ac9701c93be01ed169c6bd23b22e04782f (patch)
treea772611160eeee031c2a6f25d7e4b0fae7a42736 /Source/cmMakefile.cxx
parente8c0341d86e3f2b9658dfc594641f9ba1b29165b (diff)
downloadCMake-6ce940ac9701c93be01ed169c6bd23b22e04782f.zip
CMake-6ce940ac9701c93be01ed169c6bd23b22e04782f.tar.gz
CMake-6ce940ac9701c93be01ed169c6bd23b22e04782f.tar.bz2
cmMakefile: Use std::string in ProjectName API.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 73911a5..abdd767 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2044,12 +2044,12 @@ void cmMakefile::RemoveCacheDefinition(const std::string& name)
this->GetState()->RemoveCacheEntry(name);
}
-void cmMakefile::SetProjectName(const char* p)
+void cmMakefile::SetProjectName(std::string const& p)
{
this->ProjectName = p;
}
-const char* cmMakefile::GetProjectName() const
+std::string cmMakefile::GetProjectName() const
{
return this->ProjectName.c_str();
}