From a03f3d0e01edcb617813144626400058a5c0a177 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 22 Oct 2015 00:50:53 +0200 Subject: [PATCH] cmFunctionBlocker: Constify method --- Source/cmFunctionBlocker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmFunctionBlocker.h b/Source/cmFunctionBlocker.h index 68bf76286..a3b80781d 100644 --- a/Source/cmFunctionBlocker.h +++ b/Source/cmFunctionBlocker.h @@ -39,7 +39,7 @@ public: /** Set/Get the context in which this blocker is created. */ void SetStartingContext(cmListFileContext const& lfc) { this->StartingContext = lfc; } - cmListFileContext const& GetStartingContext() + cmListFileContext const& GetStartingContext() const { return this->StartingContext; } private: cmListFileContext StartingContext;