Skip to content
Snippets Groups Projects
Commit 7dd713fd authored by Jonathan Hanks's avatar Jonathan Hanks
Browse files

A minor cleanup of the channel duplication code.

 * Use unordered_set as we don't need a map, only to check existence.
 * Use find instead of [] to provide better signaling of what we are doing.
 * Use explicit insert.

 ** Note the find/insert could be combined for a more efficient operation, but it is a little less readable and this code is only executed once.
parent a4ffed19
No related branches found
No related tags found
2 merge requests!656Merge 5.1 in to master,!650A minor cleanup of the channel duplication code.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment