stringapi: Accept string parameters in methods which store to strings
This commit is contained in:
parent
381d50c149
commit
f29754573d
|
@ -494,7 +494,7 @@ public:
|
||||||
* Set a regular expression that include files that are not found
|
* Set a regular expression that include files that are not found
|
||||||
* must match in order to be considered a problem.
|
* must match in order to be considered a problem.
|
||||||
*/
|
*/
|
||||||
void SetComplainRegularExpression(const char* regex)
|
void SetComplainRegularExpression(const std::string& regex)
|
||||||
{
|
{
|
||||||
this->ComplainFileRegularExpression = regex;
|
this->ComplainFileRegularExpression = regex;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue