summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
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/cmMakefile.cxx
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/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 0 insertions, 6 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/.+-]+@)");