diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-10 04:07:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:36 (GMT) |
commit | acb116e3b52362b41988aa27eeb593dd2e7194c0 (patch) | |
tree | ee9d147e3f338afcf615366cfb5a782c4695473b /Source/cmLocalNinjaGenerator.h | |
parent | 84fdc9921cab35addba8c57cd201778de2cf87a4 (diff) | |
download | CMake-acb116e3b52362b41988aa27eeb593dd2e7194c0.zip CMake-acb116e3b52362b41988aa27eeb593dd2e7194c0.tar.gz CMake-acb116e3b52362b41988aa27eeb593dd2e7194c0.tar.bz2 |
stringapi: Return a string reference for the configuration
Diffstat (limited to 'Source/cmLocalNinjaGenerator.h')
-rw-r--r-- | Source/cmLocalNinjaGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h index 8b26806..2d870fb 100644 --- a/Source/cmLocalNinjaGenerator.h +++ b/Source/cmLocalNinjaGenerator.h @@ -55,8 +55,8 @@ public: const cmake* GetCMakeInstance() const; cmake* GetCMakeInstance(); - const char* GetConfigName() const - { return this->ConfigName.c_str(); } + std::string const& GetConfigName() const + { return this->ConfigName; } /// @return whether we are processing the top CMakeLists.txt file. bool isRootMakefile() const; |