summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionBlocker.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-07-25 20:53:13 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-07-25 20:53:13 (GMT)
commit4ab2650802f7b0addce7860aff4fd5a2709eae24 (patch)
tree6f1694144d9406300636b1c8b430b2232801e54e /Source/cmFunctionBlocker.h
parentf783252c62e48d98bb267f00bff573ea66614cde (diff)
downloadCMake-4ab2650802f7b0addce7860aff4fd5a2709eae24.zip
CMake-4ab2650802f7b0addce7860aff4fd5a2709eae24.tar.gz
CMake-4ab2650802f7b0addce7860aff4fd5a2709eae24.tar.bz2
added for each command
Diffstat (limited to 'Source/cmFunctionBlocker.h')
-rw-r--r--Source/cmFunctionBlocker.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFunctionBlocker.h b/Source/cmFunctionBlocker.h
index 3891ff1..c717b43 100644
--- a/Source/cmFunctionBlocker.h
+++ b/Source/cmFunctionBlocker.h
@@ -56,7 +56,7 @@ public:
* should a function be blocked
*/
virtual bool IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
- const cmMakefile &mf) const = 0;
+ cmMakefile &mf) = 0;
/**
* should this function blocker be removed, useful when one function adds a
@@ -64,14 +64,14 @@ public:
*/
virtual bool ShouldRemove(const char *name,
const std::vector<std::string> &args,
- const cmMakefile &mf) const {return false;}
+ cmMakefile &mf) {return false;}
/**
* When the end of a CMakeList file is reached this method is called. It
* is not called on the end of an INCLUDE cmake file, just at the end of a
* regular CMakeList file
*/
- virtual void ScopeEnded(const cmMakefile &mf) const {}
+ virtual void ScopeEnded(cmMakefile &mf) {}
virtual ~cmFunctionBlocker() {}
};