浏览代码

STYLE: Remove useless install generator typedefs

The cmInstall*Generator classes all derive from cmInstallGenerator which
provides the Indent typedef so they do not need to provide it
Brad King 17 年之前
父节点
当前提交
f8c0dc27b5

+ 0 - 1
Source/cmInstallDirectoryGenerator.h

@@ -35,7 +35,6 @@ public:
   virtual ~cmInstallDirectoryGenerator();
 
 protected:
-  typedef cmInstallGeneratorIndent Indent;
   virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
   std::vector<std::string> Directories;
   std::string FilePermissions;

+ 0 - 1
Source/cmInstallExportGenerator.h

@@ -42,7 +42,6 @@ public:
 protected:
   typedef std::vector<cmTargetExport*> ExportSet;
 
-  typedef cmInstallGeneratorIndent Indent;
   virtual void GenerateScript(std::ostream& os);
   virtual void GenerateScriptConfigs(std::ostream& os, Indent const& indent);
   virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);

+ 0 - 1
Source/cmInstallFilesGenerator.h

@@ -35,7 +35,6 @@ public:
   virtual ~cmInstallFilesGenerator();
 
 protected:
-  typedef cmInstallGeneratorIndent Indent;
   virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
   std::vector<std::string> Files;
   bool Programs;

+ 0 - 1
Source/cmInstallTargetGenerator.h

@@ -64,7 +64,6 @@ public:
   bool IsImportLibrary() const { return this->ImportLibrary; }
 
 protected:
-  typedef cmInstallGeneratorIndent Indent;
   virtual void GenerateScript(std::ostream& os);
   virtual void GenerateScriptConfigs(std::ostream& os, Indent const& indent);
   virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);