cmFunctionBlocker: Constify method

This commit is contained in:
Stephen Kelly 2015-10-22 00:50:53 +02:00
parent d50c4220e2
commit a03f3d0e01
1 changed files with 1 additions and 1 deletions

View File

@ -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;