mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Source: Reduce c_str() usage
This commit is contained in:
committed by
Vitaly Stakhovsky
parent
982f7bb506
commit
12624ebd7e
@@ -374,7 +374,7 @@ void cmFindLibraryHelper::AddName(std::string const& name)
|
||||
regex += "(\\.[0-9]+\\.[0-9]+)?";
|
||||
}
|
||||
regex += "$";
|
||||
entry.Regex.compile(regex.c_str());
|
||||
entry.Regex.compile(regex);
|
||||
this->Names.push_back(std::move(entry));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user