WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
185292
Remove std::random_shuffle
https://bugs.webkit.org/show_bug.cgi?id=185292
Summary
Remove std::random_shuffle
Yusuke Suzuki
Reported
2018-05-03 21:46:25 PDT
Remove std::random_shuffle
Attachments
Patch
(2.77 KB, patch)
2018-05-03 21:47 PDT
,
Yusuke Suzuki
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2018-05-03 21:47:10 PDT
Created
attachment 339520
[details]
Patch
Filip Pizlo
Comment 2
2018-05-03 22:19:21 PDT
Comment on
attachment 339520
[details]
Patch Can we instead have a WeakRandon rwference passed to BinarySwitch? Maybe users of BinarySwitch can keep a WeakRandom around longer.
Darin Adler
Comment 3
2018-05-03 22:22:58 PDT
(In reply to Filip Pizlo from
comment #2
)
> Can we instead have a WeakRandon rwference passed to BinarySwitch? Maybe > users of BinarySwitch can keep a WeakRandom around longer.
Seems OK, but this is not changing here, so seems orthogonal.
Yusuke Suzuki
Comment 4
2018-05-03 22:31:13 PDT
(In reply to Filip Pizlo from
comment #2
)
> Comment on
attachment 339520
[details]
> Patch > > Can we instead have a WeakRandon rwference passed to BinarySwitch? Maybe > users of BinarySwitch can keep a WeakRandom around longer.
OK, I'll do this that in a separate patch. This patch removes std::random_shuffle, this is required b/c C++17 removes this function, and actually MSVC w/ C++17 flag does not have this function :)
Yusuke Suzuki
Comment 5
2018-05-03 22:32:46 PDT
Committed
r231347
: <
https://trac.webkit.org/changeset/231347
>
Radar WebKit Bug Importer
Comment 6
2018-05-03 22:33:27 PDT
<
rdar://problem/39967119
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug