Closed Bug 645947 Opened 15 years ago Closed 15 years ago

Remove unneeded copy constructors

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(1 file)

This removes the redundant copy constructors on some gfx types. This will let the be POD which helps generate better code. Overall this saves 1224 bytes of text and 54465 bytes of total size in libxul.so with gcc-4.4
Attachment #522584 - Flags: review?(bjacob)
Assignee: nobody → jmuizelaar
Comment on attachment 522584 [details] [diff] [review] Remove unneeded copy constructors And you might want to apply the same treatment to gfxSize too, in gfxPoint.h
Attachment #522584 - Flags: review?(bjacob) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: