Meaning of OptionSet::contains is unclear when used with OptionSet argument
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2018 05:55:10 +0000 (05:55 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2018 05:55:10 +0000 (05:55 +0000)
commitcb24c7adba32f9f3b8bdd638e0227aeef65df7e7
tree16fea4b45600b6abde43bb2f747deef13ad7ca5c
parentfef15332d9026c51d5126dd97c54bd763e8b5506
Meaning of OptionSet::contains is unclear when used with OptionSet argument
https://bugs.webkit.org/show_bug.cgi?id=188501
<rdar://problem/43246242>

Reviewed by Simon Fraser.

MSVC is unable to compile contains using an initializer_list within a lambda.

* wtf/OptionSet.h:
(WTF::OptionSet::contains const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/OptionSet.h