summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionBlocker.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-21 22:50:53 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-26 21:30:15 (GMT)
commita03f3d0e01edcb617813144626400058a5c0a177 (patch)
tree124add5b41a053d3abc8eb1e4a9a7ca0344ee689 /Source/cmFunctionBlocker.h
parentd50c4220e29ef0b7366f3e1812f0a79736f2c18e (diff)
downloadCMake-a03f3d0e01edcb617813144626400058a5c0a177.zip
CMake-a03f3d0e01edcb617813144626400058a5c0a177.tar.gz
CMake-a03f3d0e01edcb617813144626400058a5c0a177.tar.bz2
cmFunctionBlocker: Constify method
Diffstat (limited to 'Source/cmFunctionBlocker.h')
-rw-r--r--Source/cmFunctionBlocker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFunctionBlocker.h b/Source/cmFunctionBlocker.h
index 68bf762..a3b8078 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;