summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-07 07:57:33 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 08:24:27 (GMT)
commit125c48660ce5f58e8fa9371cfb9c192f42b19401 (patch)
tree256fc31b3fe37824de43211c95c89c8e0fab478a
parent92b8b1fc3d885091cfef210216b682a389eaf2fb (diff)
downloadCMake-125c48660ce5f58e8fa9371cfb9c192f42b19401.zip
CMake-125c48660ce5f58e8fa9371cfb9c192f42b19401.tar.gz
CMake-125c48660ce5f58e8fa9371cfb9c192f42b19401.tar.bz2
cmInstallFilesGenerator: Re-arrange data layout.
Size goes from 296 to 288 bytes.
-rw-r--r--Source/cmInstallFilesGenerator.cxx6
-rw-r--r--Source/cmInstallFilesGenerator.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx
index 28c27c2..ff2c6e5 100644
--- a/Source/cmInstallFilesGenerator.cxx
+++ b/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();
diff --git a/Source/cmInstallFilesGenerator.h b/Source/cmInstallFilesGenerator.h
index 0dbd712..bf482d6 100644
--- a/Source/cmInstallFilesGenerator.h
+++ b/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;
};