mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Switch to using std::ranges algorithms
This commit is contained in:
parent
b4cbda4e02
commit
72c79006ac
42 changed files with 90 additions and 93 deletions
|
@ -154,7 +154,7 @@ void ScriptCoverageManager::TrackUsage(const Location* loc, std::string desc, ui
|
|||
loc->Describe(&location_info);
|
||||
|
||||
static canonicalize_desc cd{delim};
|
||||
for_each(desc.begin(), desc.end(), cd);
|
||||
std::ranges::for_each(desc, cd);
|
||||
|
||||
pair<string, string> location_desc(location_info.Description(), desc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue