STYLE: fix line length

This commit is contained in:
Ken Martin 2006-05-12 10:46:50 -04:00
parent 1a2b8afe1e
commit 01c25dd378
2 changed files with 5 additions and 2 deletions

View File

@ -1410,7 +1410,8 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
const char* rebuildCacheTargetName = this->GetRebuildCacheTargetName(); const char* rebuildCacheTargetName = this->GetRebuildCacheTargetName();
if ( rebuildCacheTargetName ) if ( rebuildCacheTargetName )
{ {
cpackCommandLines.erase(cpackCommandLines.begin(), cpackCommandLines.end()); cpackCommandLines.erase(cpackCommandLines.begin(),
cpackCommandLines.end());
singleLine.erase(singleLine.begin(), singleLine.end()); singleLine.erase(singleLine.begin(), singleLine.end());
depends.erase(depends.begin(), depends.end()); depends.erase(depends.begin(), depends.end());
singleLine.push_back(cmakeCommand); singleLine.push_back(cmakeCommand);

View File

@ -28,7 +28,9 @@ class cmGlobalMSYSMakefileGenerator : public cmGlobalUnixMakefileGenerator3
{ {
public: public:
cmGlobalMSYSMakefileGenerator(); cmGlobalMSYSMakefileGenerator();
static cmGlobalGenerator* New() { return new cmGlobalMSYSMakefileGenerator; } static cmGlobalGenerator* New() {
return new cmGlobalMSYSMakefileGenerator; }
///! Get the name for the generator. ///! Get the name for the generator.
virtual const char* GetName() const { virtual const char* GetName() const {
return cmGlobalMSYSMakefileGenerator::GetActualName();} return cmGlobalMSYSMakefileGenerator::GetActualName();}