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

ENH: replace base implementation of Foam::Swap with std::swap

- eliminates a potentially invalid code branch.
  Since it essentially had the same internals as std::swap anyhow,
  make that more evident.

ENH: use std::swap for basic types

- makes it clearer that they do not rely on any special semantics
parent 8c460d8e
Branches
Tags
No related merge requests found
Showing
with 57 additions and 63 deletions
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