Browse Source

cmInstallFilesGenerator: Re-arrange data layout.

Size goes from 296 to 288 bytes.
Stephen Kelly 10 years ago
parent
commit
125c48660c
2 changed files with 5 additions and 3 deletions
  1. 4 2
      Source/cmInstallFilesGenerator.cxx
  2. 1 1
      Source/cmInstallFilesGenerator.h

+ 4 - 2
Source/cmInstallFilesGenerator.cxx

@@ -28,9 +28,11 @@ cmInstallFilesGenerator
                           bool optional):
   cmInstallGenerator(dest, configurations, component, message),
   Makefile(mf),
-  Files(files), Programs(programs),
+  Files(files),
   FilePermissions(file_permissions),
-  Rename(rename), Optional(optional)
+  Rename(rename),
+  Programs(programs),
+  Optional(optional)
 {
   // We need per-config actions if any files have generator expressions.
   for(std::vector<std::string>::const_iterator i = files.begin();

+ 1 - 1
Source/cmInstallFilesGenerator.h

@@ -43,9 +43,9 @@ protected:
 
   cmMakefile* Makefile;
   std::vector<std::string> Files;
-  bool Programs;
   std::string FilePermissions;
   std::string Rename;
+  bool Programs;
   bool Optional;
 };