diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:35:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:33 (GMT) |
commit | dddbd2c7faf0a606200d5b03c549d348eceb87d7 (patch) | |
tree | f6e4fded07f83a0a948045bd1f995b2a00971692 | |
parent | f3efa3cd160d9957437168627689720bb953bb2b (diff) | |
download | CMake-dddbd2c7faf0a606200d5b03c549d348eceb87d7.zip CMake-dddbd2c7faf0a606200d5b03c549d348eceb87d7.tar.gz CMake-dddbd2c7faf0a606200d5b03c549d348eceb87d7.tar.bz2 |
stringapi: Accept strings when setting command errors
-rw-r--r-- | Source/cmCommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h index e148857..2378ef0 100644 --- a/Source/cmCommand.h +++ b/Source/cmCommand.h @@ -166,7 +166,7 @@ public: /** * Set the error message */ - void SetError(const char* e) + void SetError(const std::string& e) { this->Error = this->GetName(); this->Error += " "; |