Closed Bug 1252104 Opened 8 years ago Closed 8 years ago

make NS_ERROR_GET_CODE() constexpr

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: tbsaunde, Unassigned)

Details

Attachments

(1 file)

      No description provided.
Attachment #8724752 - Flags: review?(nfroyd)
Comment on attachment 8724752 [details] [diff] [review]
make NS_ERROR_GET_CODE() constexpr

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

I assume this eliminates a static constructor and that's why you didn't apply the same treatment to NS_ERROR_GET_MODULE?
Attachment #8724752 - Flags: review?(nfroyd) → review+
https://hg.mozilla.org/mozilla-central/rev/d37744e8ec76
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: