diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-06-28 15:16:36 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-06-28 15:16:36 (GMT) |
commit | 52d8b1b5d9463eb6e9d417db9e66c3e00ad1b938 (patch) | |
tree | 809f48ccb928ba006aa0d394ec2bf0e9fcb1e091 /Source/cmIfCommand.h | |
parent | 3cc9efceb76f9a6485fd52865c9e4693f16cc9b2 (diff) | |
download | CMake-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.h | 2 |
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. |