summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
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 5156d46..aeb3a72 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -148,7 +148,7 @@ public:
{
if(m_Error.length() == 0)
{
- std::string m_Error = this->GetName();
+ m_Error = this->GetName();
m_Error += " uknown error.";
}
return m_Error.c_str();