Closed Bug 968942 Opened 10 years ago Closed 10 years ago

make SizeTyped constructors MOZ_CONSTEXPR to avoid static constructors

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

      No description provided.
This is similar to what has already been done for IntSizeTyped.
Attachment #8371635 - Flags: review?(bugmail.mozilla)
Assignee: nobody → nfroyd
Comment on attachment 8371635 [details] [diff] [review]
make SizeTyped constructors MOZ_CONSTEXPR to avoid static constructors

Review of attachment 8371635 [details] [diff] [review]:
-----------------------------------------------------------------

Should the PointTyped and IntPointTyped constructors be doing this too? One of the IntPointTyped constructors already does it but the rest don't.
Attachment #8371635 - Flags: review?(bugmail.mozilla) → review+
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2)
> Should the PointTyped and IntPointTyped constructors be doing this too? One
> of the IntPointTyped constructors already does it but the rest don't.

Yeah, probably so.  Want to see that patch?
Flags: needinfo?(bugmail.mozilla)
Rubber stamp! Assuming all our compilers are happy with it, I'm happy with it too.
Flags: needinfo?(bugmail.mozilla)
https://hg.mozilla.org/mozilla-central/rev/6165b393a420
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: