Closed Bug 1596547 Opened 5 years ago Closed 5 years ago

be more specific in CryptoBuffer::Assign parameter types

Categories

(Core :: DOM: Web Crypto, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file)

No description provided.

We don't need the full generality of templated typed arrays here, just
the ability to assign from Uint8Array. Some versions of clang in
C++17 mode have problems with overload resolution when faced with
templated method parameters that resolve to base classes of the passed
arguments. Using the more-specific type here avoids those bugs.

Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ea9ed99c555 be more specific in CryptoBuffer::Assign parameter types; r=jcj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: