diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-28 05:50:52 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-28 05:50:52 (GMT) |
commit | a48aebcb67a66bd2fee1318bb971cc5e3b016410 (patch) | |
tree | a93f900fdbcfcccfa80c7c6cd14ac29bbfca03bb /Source/cmGlobalNinjaGenerator.h | |
parent | e4c78b37cec74c505e8a4951276c17f7e64e5f67 (diff) | |
download | CMake-a48aebcb67a66bd2fee1318bb971cc5e3b016410.zip CMake-a48aebcb67a66bd2fee1318bb971cc5e3b016410.tar.gz CMake-a48aebcb67a66bd2fee1318bb971cc5e3b016410.tar.bz2 |
cmLocalGenerator: Require a parent in the constructor.
Pass the parent though cmGlobalGenerator::CreateLocalGenerator.
This will make it easy to initialize state scopes independent of
cmMakefile.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 6aa76f9..d7b3add 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -171,7 +171,7 @@ public: virtual ~cmGlobalNinjaGenerator() { } /// Overloaded methods. @see cmGlobalGenerator::CreateLocalGenerator() - virtual cmLocalGenerator* CreateLocalGenerator(); + virtual cmLocalGenerator* CreateLocalGenerator(cmLocalGenerator* parent = 0); /// Overloaded methods. @see cmGlobalGenerator::GetName(). virtual std::string GetName() const { |