summaryrefslogtreecommitdiff
path: root/Source/cmFindPathCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFindPathCommand.h')
-rw-r--r--Source/cmFindPathCommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFindPathCommand.h b/Source/cmFindPathCommand.h
index bd94779831..a612990118 100644
--- a/Source/cmFindPathCommand.h
+++ b/Source/cmFindPathCommand.h
@@ -44,17 +44,17 @@ public:
/**
* This determines if the command is invoked when in script mode.
*/
- virtual bool IsScriptable() { return true; }
+ virtual bool IsScriptable() const { return true; }
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() {return "find_path";}
+ virtual const char* GetName() const {return "find_path";}
/**
* Succinct documentation.
*/
- virtual const char* GetTerseDocumentation()
+ virtual const char* GetTerseDocumentation() const
{
return "Find the directory containing a file.";
}