Open Bug 1351372 Opened 7 years ago Updated 2 years ago

make StaticMutex non-copyable

Categories

(Core :: XPCOM, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox55 --- affected

People

(Reporter: froydnj, Unassigned)

Details

StaticMutex attempts to make itself non-copyable in debug builds, but it declares the wrong copy constructor, so things don't work as intended.

We should declare the canonical copy constructor (and operator=) as deleted in DEBUG builds.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.