Closed Bug 1700336 Opened 4 years ago Closed 4 years ago

Use MaybeStorageBase in Maybe

Categories

(Core :: MFBT, task)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(1 file)

Bug 1601556 extracted MaybeStorageBase from Maybe, which is now used in Result, but ought to be used in Maybe itself as well, to avoid duplication.

However, the draft patch doesn't work as intended on Windows (but not on Linux or OS X). It breaks the static_asserts on the sizes of Maybe<char> etc., so seemingly some padding is inserted. This requires some further work to fix that.

Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Attachment #9210997 - Attachment description: Bug 1700336 - WIP: Use MaybeStorageBase in Maybe. r=emilio → Bug 1700336 - Use MaybeStorageBase in Maybe. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Regressions: 1713957
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: