Skip to content
Snippets Groups Projects
Commit 4fe8ed82 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: use direct iteration for HashSet

- The iterator for a HashSet dereferences directly to its key.

- Eg,

      for (const label patchi : patchSet)
      {
          ...
      }
  vs.
      forAllConstIter(labelHashSet, patchSet, iter)
      {
          const label patchi = iter.key();
          ...
      }
parent 2a6ac7ed
No related branches found
No related tags found
Loading
Showing
with 147 additions and 171 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment