diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2011-03-26 13:31:59 (GMT) |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-02 17:30:42 (GMT) |
commit | 4532d36cc948228ca5e1ed072b7907a84a78c0e7 (patch) | |
tree | 44b861e14fe6b100809cf1a5495c9b08c07bf4c9 /Source/cmLocalGenerator.h | |
parent | 3db2973bd2ceb65a0d88ed6a3428e17cc9f0e182 (diff) | |
download | CMake-4532d36cc948228ca5e1ed072b7907a84a78c0e7.zip CMake-4532d36cc948228ca5e1ed072b7907a84a78c0e7.tar.gz CMake-4532d36cc948228ca5e1ed072b7907a84a78c0e7.tar.bz2 |
Add const versions of some getters.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index cfc09dc..1f5a26e 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -83,6 +83,8 @@ public: ///! Get the GlobalGenerator this is associated with cmGlobalGenerator *GetGlobalGenerator() { return this->GlobalGenerator; }; + const cmGlobalGenerator *GetGlobalGenerator() const { + return this->GlobalGenerator; }; ///! Set the Global Generator, done on creation by the GlobalGenerator void SetGlobalGenerator(cmGlobalGenerator *gg); |