summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.h
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-20 11:16:09 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-26 14:33:27 (GMT)
commit6920fed652339ca6b45d98769c88a8c341e507b8 (patch)
treea597d1fcfcb9af0fce91858ba1d8c4024ff07c3f /Source/cmGlobalVisualStudio8Generator.h
parent102521b6b3172e32b2985c53eadc6eaebe90245d (diff)
downloadCMake-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.h4
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;