Skip to content
Snippets Groups Projects
Commit fcf44df1 authored by George Kulakowski's avatar George Kulakowski Committed by CQ bot account: commit-bot@chromium.org
Browse files

[fbl] Make fbl::unique_ptr an alias of std::unique_ptr

fbl::unique_ptr differed from std::unique_ptr in a handful of ways.

- fbl::unique_ptr supported the fbl::Recycler technology. This had no
  clients (all clients use fbl::RefPtr instead).

- The deleter is differently named, and so some friend declarations
  needed to be tweaked.

- The constructors and conversions are slightly different. This
  manifested as a need to explicitly provide template arguments in a
  handful of places. In general, std:: allows more conversions than
  fbl:: did.

Bug: ZX-3357 #comment fbl::unique_ptr alias
Bug: ZX-3837 #done
Change-Id: I43b099e7e2905b87c3bc3ad493a30a9f05add4ba
parent 9e45eaf2
No related branches found
No related tags found
Loading
Showing
with 37 additions and 41 deletions
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