summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-10 04:07:44 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:36 (GMT)
commitacb116e3b52362b41988aa27eeb593dd2e7194c0 (patch)
treeee9d147e3f338afcf615366cfb5a782c4695473b /Source/cmNinjaTargetGenerator.cxx
parent84fdc9921cab35addba8c57cd201778de2cf87a4 (diff)
downloadCMake-acb116e3b52362b41988aa27eeb593dd2e7194c0.zip
CMake-acb116e3b52362b41988aa27eeb593dd2e7194c0.tar.gz
CMake-acb116e3b52362b41988aa27eeb593dd2e7194c0.tar.bz2
stringapi: Return a string reference for the configuration
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 1c43cb3..78ff4e4 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -91,7 +91,7 @@ cmGlobalNinjaGenerator* cmNinjaTargetGenerator::GetGlobalGenerator() const
return this->LocalGenerator->GetGlobalNinjaGenerator();
}
-const char* cmNinjaTargetGenerator::GetConfigName() const
+std::string const& cmNinjaTargetGenerator::GetConfigName() const
{
return this->LocalGenerator->GetConfigName();
}