cmInstalledFile: Move Property implementation out of line.

Don't require re-building the world when changing cmAlgorithms.h.
This commit is contained in:
Stephen Kelly 2015-03-08 13:37:44 +01:00
parent 7916d7bac6
commit 4448f175c8
2 changed files with 13 additions and 10 deletions

View File

@ -12,6 +12,7 @@
#include "cmInstalledFile.h" #include "cmInstalledFile.h"
#include "cmSystemTools.h" #include "cmSystemTools.h"
#include "cmMakefile.h" #include "cmMakefile.h"
#include "cmAlgorithms.h"
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
cmInstalledFile::cmInstalledFile(): 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) void cmInstalledFile::SetName(cmMakefile* mf, const std::string& name)
{ {

View File

@ -13,7 +13,6 @@
#define cmInstalledFile_h #define cmInstalledFile_h
#include "cmGeneratorExpression.h" #include "cmGeneratorExpression.h"
#include "cmAlgorithms.h"
/** \class cmInstalledFile /** \class cmInstalledFile
* \brief Represents a file intended for installation. * \brief Represents a file intended for installation.
@ -32,15 +31,8 @@ public:
struct Property struct Property
{ {
Property() Property();
{ ~Property();
}
~Property()
{
cmDeleteAll(this->ValueExpressions);
}
ExpressionVectorType ValueExpressions; ExpressionVectorType ValueExpressions;
}; };