Skip to content
Snippets Groups Projects
Commit a7d8dd25 authored by Sean McBride's avatar Sean McBride
Browse files

Eliminate (semantically) a repeated search in RemoveViewProp

Replaced HasViewProp() call with IndexOfFirstOccurence(), the former is just a thin wrapper of the latter anyway.

This way we can call the other variant of RemoveItem(), the one that takes the index instead of the prop itself.

With the current implementation of RemoveItem, this doesn't help much, but eventually can, as now it doesn't have to search for the prop *again*.
parent 6a5b11dc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment