summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 17:42:13 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 09:04:39 (GMT)
commit223d0efe55ff66f6ceb25ecdfbd1d915c76af548 (patch)
tree98d7c649c07079a7afe3a1b5a6f504074353f1b1 /Source/cmGlobalUnixMakefileGenerator3.cxx
parenta367416cec8297c5a567825217b933f4539a44e4 (diff)
downloadCMake-223d0efe55ff66f6ceb25ecdfbd1d915c76af548.zip
CMake-223d0efe55ff66f6ceb25ecdfbd1d915c76af548.tar.gz
CMake-223d0efe55ff66f6ceb25ecdfbd1d915c76af548.tar.bz2
Remove some needless GetMakefile() calls.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index a8cef0e..bfb58f2 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -495,7 +495,7 @@ cmGlobalUnixMakefileGenerator3
// The directory-level rule should depend on the directory-level
// rules of the subdirectories.
std::vector<cmState::Snapshot> children
- = lg->GetMakefile()->GetStateSnapshot().GetChildren();
+ = lg->GetStateSnapshot().GetChildren();
for(std::vector<cmState::Snapshot>::const_iterator
ci = children.begin(); ci != children.end(); ++ci)
{