stringapi: Accept strings when setting command errors
This commit is contained in:
parent
f3efa3cd16
commit
dddbd2c7fa
@ -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 += " ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user