stringapi: Accept string parameters in methods which store to strings

This commit is contained in:
Ben Boeckel 2014-02-03 21:06:17 -05:00 committed by Brad King
parent 381d50c149
commit f29754573d
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ public:
* Set a regular expression that include files that are not found
* must match in order to be considered a problem.
*/
void SetComplainRegularExpression(const char* regex)
void SetComplainRegularExpression(const std::string& regex)
{
this->ComplainFileRegularExpression = regex;
}