Browse Source

cmFunctionBlocker: Constify method

Stephen Kelly 10 years ago
parent
commit
a03f3d0e01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmFunctionBlocker.h

+ 1 - 1
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;