summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.cxx
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/cmIfCommand.cxx
parentf783252c62e48d98bb267f00bff573ea66614cde (diff)
downloadCMake-4ab2650802f7b0addce7860aff4fd5a2709eae24.zip
CMake-4ab2650802f7b0addce7860aff4fd5a2709eae24.tar.gz
CMake-4ab2650802f7b0addce7860aff4fd5a2709eae24.tar.bz2
added for each command
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r--Source/cmIfCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index ab98d41..d0bd577 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bool cmIfFunctionBlocker::
IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
- const cmMakefile &mf) const
+ cmMakefile &mf)
{
if (!strcmp(name,"ELSE") || !strcmp(name,"ENDIF"))
{
@@ -63,13 +63,13 @@ IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
bool cmIfFunctionBlocker::
ShouldRemove(const char *name, const std::vector<std::string> &args,
- const cmMakefile &mf) const
+ cmMakefile &mf)
{
return !this->IsFunctionBlocked(name,args,mf);
}
void cmIfFunctionBlocker::
-ScopeEnded(const cmMakefile &mf) const
+ScopeEnded(cmMakefile &mf)
{
cmSystemTools::Error("The end of a CMakeLists file was reached with an IF statement that was not closed properly. Within the directory: ",
mf.GetCurrentDirectory(),