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

STYLE: check autoPtr as plain bool instead of valid()

- cleaner code, more similarity with unique_ptr

  Now
      if (ptr)
      if (!ptr)

  instead
      if (ptr.valid())
      if (!ptr.valid())
parent 9af3f85c
Branches
Tags
1 merge request!378autoPtr/tmp cleanup
Showing
with 89 additions and 87 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