VS: Change variable type of Name from const char* to string
This commit is contained in:
parent
102521b6b3
commit
6920fed652
|
@ -28,7 +28,7 @@ public:
|
||||||
static cmGlobalGeneratorFactory* NewFactory();
|
static cmGlobalGeneratorFactory* NewFactory();
|
||||||
|
|
||||||
///! Get the name for the generator.
|
///! 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;
|
const char* GetPlatformName() const;
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ protected:
|
||||||
virtual void WriteProjectDepends(std::ostream& fout, const char* name,
|
virtual void WriteProjectDepends(std::ostream& fout, const char* name,
|
||||||
const char* path, cmTarget &t);
|
const char* path, cmTarget &t);
|
||||||
|
|
||||||
const char* Name;
|
std::string Name;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class Factory;
|
class Factory;
|
||||||
|
|
Loading…
Reference in New Issue