Closed Bug 1417655 Opened 8 years ago Closed 5 years ago

NullPrincipalURI has a copy constructor but no operator=

Categories

(Core :: Security: CAPS, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: jeanluc.bonnafoux, Assigned: ckerschb)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171112125346 Steps to reproduce: NullPrincipalURI has a copy constructor but no operator= Actual results: copy constructor is private and implemented. But there is no operator= and therefore the compiler is generating a default one. Expected results: Since the class has a copy constructor, it should also have an operator= (private). Or if we don't want one, we could just instruct the compiler not to generate a default one.
Assignee: nobody → ckerschb
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P2
Attachment #9130846 - Attachment description: Bug 1417655: Declare and implement private operator= for NullPrincipalURI since there is a private copy constr.r=bholley → Bug 1417655: Mark private operator= delete for NullPrincipalURI since there is a private copy constr.r=bholley
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5cc15a99429b Mark private operator= delete for NullPrincipalURI since there is a private copy constr.r=bholley
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: