Closed Bug 1834279 Opened 10 months ago Closed 10 months ago

Make nsTLiteralString copy constructor explicit

Categories

(Core :: String, task)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Otherwise we get a compiler warning

 warning: obj-x86_64-pc-linux-gnu/dist/include/nsTLiteralString.h:105:14 [-Wdeprecated-copy] definition of implicit copy constructor for 'nsTLiteralString<char>' is deprecated because it has a user-declared copy assignment operator
Attachment #9335187 - Attachment description: WIP: Bug 1834279 - Make nsTLiteralString copy constructor explicit → Bug 1834279 - Make nsTLiteralString copy constructor explicit r=nika

Thanks for fixing this! I've seen the warning a few times but I was too lazy to actually file it.

Component: General → String
Product: Firefox Build System → Core
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/370740b5bc6b
Make nsTLiteralString copy constructor explicit r=emilio
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: