All users were logged out of Bugzilla on October 13th, 2018

Convert most of UniquePtr<>&& parameters to take UniquePtr<> instead

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: xidorn, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
+++ This bug was initially created as a clone of Bug #1268314 +++

Using the plain type in parameter with a move constructor actually gives compilers move chance to optimize theoretically because it guarantees that the moving always happens.

Conditional move could usually be confusing, and should be avoid as much as possible.
You need to log in before you can comment on or make changes to this bug.