cmLocalGenerator: Avoid unnecessary const-ness propagation

This commit is contained in:
Brad King
2025-04-15 10:39:23 -04:00
parent ed7f1c54eb
commit 88f54fba43

View File

@@ -103,10 +103,7 @@ public:
bool IsRootMakefile() const;
//! Get the makefile for this generator
cmMakefile* GetMakefile() { return this->Makefile; }
//! Get the makefile for this generator, const version
cmMakefile const* GetMakefile() const { return this->Makefile; }
cmMakefile* GetMakefile() const { return this->Makefile; }
//! Get the GlobalGenerator this is associated with
cmGlobalGenerator* GetGlobalGenerator() { return this->GlobalGenerator; }