Open Bug 1421487 Opened 7 years ago Updated 2 years ago

ThreadLocal should support <const T*>

Categories

(Core :: MFBT, enhancement)

enhancement

Tracking

()

People

(Reporter: jgilbert, Assigned: jgilbert)

Details

Attachments

(2 files)

This came up in bug 1390386. Error was: obj-firefox/dist/include/mozilla/ThreadLocal.h:153:15: error: reinterpret_cast from 'typename Helper<const GLContext *>::Type' (aka 'const mozilla::gl::GLContext *') to 'void *' casts away qualifiers
It seems to build now though, at least on Windows.
MozReview-Commit-ID: 1KrCpEtiKOI
MozReview-Commit-ID: CcQbNUkzDuD Depends on D12084

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:jgilbert, could you have a look please?

Flags: needinfo?(jgilbert)
Flags: needinfo?(jgilbert)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: