From 4448f175c8d8ee2bfce920a5e7b7e57aa923a19d Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 8 Mar 2015 13:37:44 +0100 Subject: [PATCH] cmInstalledFile: Move Property implementation out of line. Don't require re-building the world when changing cmAlgorithms.h. --- Source/cmInstalledFile.cxx | 11 +++++++++++ Source/cmInstalledFile.h | 12 ++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/Source/cmInstalledFile.cxx b/Source/cmInstalledFile.cxx index 4b53752b4..8c52b488c 100644 --- a/Source/cmInstalledFile.cxx +++ b/Source/cmInstalledFile.cxx @@ -12,6 +12,7 @@ #include "cmInstalledFile.h" #include "cmSystemTools.h" #include "cmMakefile.h" +#include "cmAlgorithms.h" //---------------------------------------------------------------------------- cmInstalledFile::cmInstalledFile(): @@ -29,6 +30,16 @@ cmInstalledFile::~cmInstalledFile() } } +cmInstalledFile::Property::Property() +{ + +} + +cmInstalledFile::Property::~Property() +{ + cmDeleteAll(this->ValueExpressions); +} + //---------------------------------------------------------------------------- void cmInstalledFile::SetName(cmMakefile* mf, const std::string& name) { diff --git a/Source/cmInstalledFile.h b/Source/cmInstalledFile.h index cdb0866b4..3af90a7db 100644 --- a/Source/cmInstalledFile.h +++ b/Source/cmInstalledFile.h @@ -13,7 +13,6 @@ #define cmInstalledFile_h #include "cmGeneratorExpression.h" -#include "cmAlgorithms.h" /** \class cmInstalledFile * \brief Represents a file intended for installation. @@ -32,15 +31,8 @@ public: struct Property { - Property() - { - - } - - ~Property() - { - cmDeleteAll(this->ValueExpressions); - } + Property(); + ~Property(); ExpressionVectorType ValueExpressions; };