summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-06-28 15:16:36 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-06-28 15:16:36 (GMT)
commit52d8b1b5d9463eb6e9d417db9e66c3e00ad1b938 (patch)
tree809f48ccb928ba006aa0d394ec2bf0e9fcb1e091 /Source/cmIfCommand.h
parent3cc9efceb76f9a6485fd52865c9e4693f16cc9b2 (diff)
downloadCMake-52d8b1b5d9463eb6e9d417db9e66c3e00ad1b938.zip
CMake-52d8b1b5d9463eb6e9d417db9e66c3e00ad1b938.tar.gz
CMake-52d8b1b5d9463eb6e9d417db9e66c3e00ad1b938.tar.bz2
BUG: fix memory leak and cleanup error string code
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index bdccdf3..cc83919 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -184,7 +184,7 @@ public:
// arguments were valid, and if so, was the response true. If there is
// an error, the errorString will be set.
static bool IsTrue(const std::vector<std::string> &args,
- char** errorString, cmMakefile *mf);
+ std::string &errorString, cmMakefile *mf);
// Get a definition from the makefile. If it doesn't exist,
// return the original string.