Skip to content
Verified Commit cc6eafa4 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

ResourceBase: use erase-remove for getting list of valid items

In majority of cases all the items will be valid, so creating a
copy of the list by detaching is more efficient than copying it
item by item in a for loop. And for the cases when we need to
remove some items, the erase-remove idiom is the best choice.
parent ed21a3f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment