summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:35:10 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:33 (GMT)
commitdddbd2c7faf0a606200d5b03c549d348eceb87d7 (patch)
treef6e4fded07f83a0a948045bd1f995b2a00971692 /Source/cmCommand.h
parentf3efa3cd160d9957437168627689720bb953bb2b (diff)
downloadCMake-dddbd2c7faf0a606200d5b03c549d348eceb87d7.zip
CMake-dddbd2c7faf0a606200d5b03c549d348eceb87d7.tar.gz
CMake-dddbd2c7faf0a606200d5b03c549d348eceb87d7.tar.bz2
stringapi: Accept strings when setting command errors
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h2
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 += " ";