Pārlūkot izejas kodu

cmFunctionBlocker: Constify method

Stephen Kelly 10 gadi atpakaļ
vecāks
revīzija
a03f3d0e01
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;