summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-04 14:18:50 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-04 14:22:01 (GMT)
commit42142d4fd2455f3c792283ba9c261c3756a10d8a (patch)
treec1bdeee6b773491145dbbb94176f79dafcbdff43 /Source
parentf39f0c0aec3ecae02a89d47be6bbb85632ca57f3 (diff)
downloadCMake-42142d4fd2455f3c792283ba9c261c3756a10d8a.zip
CMake-42142d4fd2455f3c792283ba9c261c3756a10d8a.tar.gz
CMake-42142d4fd2455f3c792283ba9c261c3756a10d8a.tar.bz2
cmMakefile: Inline Intialize method in constructor
Since commit 80909041 (cmMakefile: Disable copy constructor, 2015-04-18) the only call to cmMakefile::Initialize is in one constructor. Inline it and drop the separate method.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx6
-rw-r--r--Source/cmMakefile.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 1f406d3..d7bb5d9 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -121,12 +121,6 @@ cmMakefile::cmMakefile(cmLocalGenerator* localGenerator)
this->AddDefaultDefinitions();
- this->Initialize();
-}
-
-//----------------------------------------------------------------------------
-void cmMakefile::Initialize()
-{
this->cmDefineRegex.compile("#cmakedefine[ \t]+([A-Za-z_0-9]*)");
this->cmDefine01Regex.compile("#cmakedefine01[ \t]+([A-Za-z_0-9]*)");
this->cmAtVarRegex.compile("(@[A-Za-z_0-9/.+-]+@)");
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 8968e81..f18f114 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -918,7 +918,6 @@ protected:
private:
cmMakefile(const cmMakefile& mf);
cmMakefile& operator=(const cmMakefile& mf);
- void Initialize();
cmState::Snapshot StateSnapshot;