[Cmake-commits] CMake branch, next, updated. v3.3.1-2352-g4e4b0ee
Stephen Kelly
steveire at gmail.com
Sun Aug 23 15:20:42 EDT 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 4e4b0eedf8184e832991b63e8109b1b04c925da5 (commit)
via d8a571483950527c7f44b813a3b73eb1dbbc5435 (commit)
from 29dfc9fdd943f4f651ad6f293a30528209af847b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4e4b0eedf8184e832991b63e8109b1b04c925da5
commit 4e4b0eedf8184e832991b63e8109b1b04c925da5
Merge: 29dfc9f d8a5714
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun Aug 23 15:20:41 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun Aug 23 15:20:41 2015 -0400
Merge topic 'remove-unused-cmPolicies' into next
d8a57148 cmake: Remove unused cmPolicies member.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d8a571483950527c7f44b813a3b73eb1dbbc5435
commit d8a571483950527c7f44b813a3b73eb1dbbc5435
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun Aug 23 18:21:21 2015 +0200
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Sun Aug 23 18:28:01 2015 +0200
cmake: Remove unused cmPolicies member.
heaptrack showed a 1 byte allocation with the backtrace pointing
here, as is the case since commit v3.3.0-rc1~112^2~5 (cmPolicies:
Remove unused cmPolicy class., 2015-05-03)
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 62b3f83..1f5c4d4 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -133,7 +133,6 @@ cmake::cmake()
this->ClearBuildSystem = false;
this->FileComparison = new cmFileTimeComparison;
- this->Policies = new cmPolicies();
this->State = new cmState(this);
this->CurrentSnapshot = this->State->CreateBaseSnapshot();
@@ -171,7 +170,6 @@ cmake::cmake()
cmake::~cmake()
{
delete this->CacheManager;
- delete this->Policies;
delete this->State;
if (this->GlobalGenerator)
{
diff --git a/Source/cmake.h b/Source/cmake.h
index 31f55ac..8ac8897 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -27,7 +27,6 @@ class cmVariableWatch;
class cmFileTimeComparison;
class cmExternalMakefileProjectGenerator;
class cmDocumentationSection;
-class cmPolicies;
class cmTarget;
class cmGeneratedFileStream;
@@ -340,7 +339,6 @@ protected:
void AddExtraGenerator(const std::string& name,
CreateExtraGeneratorFunctionType newFunction);
- cmPolicies *Policies;
cmGlobalGenerator *GlobalGenerator;
cmCacheManager *CacheManager;
std::map<std::string, WarningLevel> WarningLevels;
-----------------------------------------------------------------------
Summary of changes:
Source/cmake.cxx | 2 --
Source/cmake.h | 2 --
2 files changed, 4 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list