mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Crypto: follow-up rev 9e6a0c08, don't use c++17 feature here.
This commit is contained in:
parent
bac9ec9a84
commit
941902c878
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ Crypto::GetRandomValues(JSContext* aCx, const ArrayBufferView& aArray,
|
|||
void Crypto::RandomUUID(nsAString& aRetVal)
|
||||
{
|
||||
// NSID_LENGTH == 39 == 36 UUID chars + 2 curly braces + 1 NUL byte
|
||||
static_assert(NSID_LENGTH == 39);
|
||||
static_assert(NSID_LENGTH == 39, "NSID_LENGTH must be 39");
|
||||
|
||||
nsCOMPtr<nsIUUIDGenerator> uuidgen =
|
||||
do_GetService("@mozilla.org/uuid-generator;1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue