diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-20 11:16:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-26 14:33:27 (GMT) |
commit | 6920fed652339ca6b45d98769c88a8c341e507b8 (patch) | |
tree | a597d1fcfcb9af0fce91858ba1d8c4024ff07c3f /Source/cmGlobalVisualStudio8Generator.h | |
parent | 102521b6b3172e32b2985c53eadc6eaebe90245d (diff) | |
download | CMake-6920fed652339ca6b45d98769c88a8c341e507b8.zip CMake-6920fed652339ca6b45d98769c88a8c341e507b8.tar.gz CMake-6920fed652339ca6b45d98769c88a8c341e507b8.tar.bz2 |
VS: Change variable type of Name from const char* to string
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h index a39c26d..8163d6a 100644 --- a/Source/cmGlobalVisualStudio8Generator.h +++ b/Source/cmGlobalVisualStudio8Generator.h @@ -28,7 +28,7 @@ public: static cmGlobalGeneratorFactory* NewFactory(); ///! Get the name for the generator. - virtual const char* GetName() const {return this->Name;} + virtual const char* GetName() const {return this->Name.c_str();} const char* GetPlatformName() const; @@ -82,7 +82,7 @@ protected: virtual void WriteProjectDepends(std::ostream& fout, const char* name, const char* path, cmTarget &t); - const char* Name; + std::string Name; private: class Factory; |