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

STYLE: avoid deprecation warnings for autoPtr set() method

- set() was silently deprecated in favour of reset() FEB-2018
  since the original additional check for overwriting an existing
  pointer was never used. The reset(...) name is more consistent
  with unique_ptr, tmp etc.

  Now emit deprecations for set().

- use direct test for autoPtr, tmp instead of valid() method.
  More consistent with unique_ptr etc.

STYLE: eliminate redundant ptr() use on cloned quantities
parent 3b1f6e86
Branches
Tags
No related merge requests found
Showing
with 66 additions and 66 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