Closed Bug 900275 Opened 12 years ago Closed 12 years ago

Replace JS_STATIC_ASSERT with static_assert

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 712939

People

(Reporter: n.nethercote, Unassigned)

Details

Bug 895322 replaced MOZ_STATIC_ASSERT with static_assert in all C++ code. We should do the same with JS_STATIC_ASSERT.
Note that this will not be a trivial automated change since JS_STATIC_ASSERT only accepts one argument. :(
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.