Open Bug 1812598 Opened 1 year ago Updated 1 year ago

nsMargin.h:19:3: warning: definition of implicit copy assignment operator for 'nsMargin' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]

Categories

(Core :: Graphics, defect)

defect

Tracking

()

Tracking Status
firefox-esr102 --- wontfix
firefox109 --- wontfix
firefox110 --- wontfix
firefox111 --- wontfix

People

(Reporter: spohl, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Noticed this in a local build today:

0:14.69 [...]/objdir-ff-release/dist/include/nsMargin.h:19:3: warning: definition of implicit copy assignment operator for 'nsMargin' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
0:14.69 nsMargin(const nsMargin& aMargin) = default;
0:14.69 ^
0:14.69 [...]/objdir-ff-release/dist/include/mozilla/WritingModes.h:1164:7: note: in implicit copy assignment operator for 'nsMargin' first required here
0:14.69 class LogicalMargin {
0:14.69 ^
0:14.69 [...]/objdir-ff-release/dist/include/mozilla/ReflowInput.h:133:21: note: in implicit move assignment operator for 'mozilla::LogicalMargin' first required here
0:14.69 mComputedMargin = aMargin.ConvertTo(mWritingMode, aWM);

https://searchfox.org/mozilla-central/rev/e35e7107299a46a696b8aa8a4a5c03a39458ac21/gfx/src/nsMargin.h#19

Set release status flags based on info from the regressing bug 1613985

This bug has the keyword regression, so its type should be defect.

Type: enhancement → defect
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.