summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-31 17:03:46 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-06 07:31:16 (GMT)
commit00bfa047481ed9f75444cb4954d7d72f616aef0f (patch)
treeb0489bc6fe321f9b98b880d04324da7335a9eab2
parentdb74ce5820e0d0a99649c6b472de74277e3fa6bf (diff)
downloadCMake-00bfa047481ed9f75444cb4954d7d72f616aef0f.zip
CMake-00bfa047481ed9f75444cb4954d7d72f616aef0f.tar.gz
CMake-00bfa047481ed9f75444cb4954d7d72f616aef0f.tar.bz2
cmMakefile: Out-of-line the cmMakefileCall.
-rw-r--r--Source/cmMakefile.cxx12
-rw-r--r--Source/cmMakefile.h11
2 files changed, 14 insertions, 9 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 2072418..d4bf6c1 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -5494,3 +5494,15 @@ cmMakefile::MacroPushPop::~MacroPushPop()
{
this->Makefile->PopMacroScope(this->ReportError);
}
+
+cmMakefileCall::cmMakefileCall(cmMakefile* mf, const cmListFileContext& lfc,
+ cmExecutionStatus& status): Makefile(mf)
+{
+ cmMakefile::CallStackEntry entry = {&lfc, &status};
+ this->Makefile->CallStack.push_back(entry);
+}
+
+cmMakefileCall::~cmMakefileCall()
+{
+ this->Makefile->CallStack.pop_back();
+}
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 0914a99..0b328e9 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -1084,15 +1084,8 @@ class cmMakefileCall
public:
cmMakefileCall(cmMakefile* mf,
cmListFileContext const& lfc,
- cmExecutionStatus& status): Makefile(mf)
- {
- cmMakefile::CallStackEntry entry = {&lfc, &status};
- this->Makefile->CallStack.push_back(entry);
- }
- ~cmMakefileCall()
- {
- this->Makefile->CallStack.pop_back();
- }
+ cmExecutionStatus& status);
+ ~cmMakefileCall();
private:
cmMakefile* Makefile;
};