mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Refactor: reduce cmToCStr usage
This commit is contained in:
@@ -14,7 +14,7 @@ bool cmIncludeRegularExpressionCommand(std::vector<std::string> const& args,
|
||||
}
|
||||
|
||||
cmMakefile& mf = status.GetMakefile();
|
||||
mf.SetIncludeRegularExpression(args[0].c_str());
|
||||
mf.SetIncludeRegularExpression(args[0]);
|
||||
|
||||
if (args.size() > 1) {
|
||||
mf.SetComplainRegularExpression(args[1]);
|
||||
|
||||
Reference in New Issue
Block a user