From 88f54fba435e95faad9b9535bd153eeb19e228b0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 15 Apr 2025 10:39:23 -0400 Subject: [PATCH] cmLocalGenerator: Avoid unnecessary const-ness propagation --- Source/cmLocalGenerator.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 6fae5e155b..87247d1df3 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -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; }