Experiment with simple structured bindings use
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jun 2019 02:00:47 +0000 (02:00 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jun 2019 02:00:47 +0000 (02:00 +0000)
commit3c9ce0b00e9c7c8280c6287e3ccfb93f5a81021b
tree851e410ea5680f5e03efdbfbf66a25cd4320dbbe
parent0b15de92ca0b24a8a9e934fd241afadc34bc62b1
Experiment with simple structured bindings use
https://bugs.webkit.org/show_bug.cgi?id=198905

Reviewed by Darin Adler.

* wtf/URLHelpers.cpp:
(WTF::URLHelpers::mapHostNames):
Simplify code using c++ structured bindings (https://en.cppreference.com/w/cpp/language/structured_binding)
to see if all the platforms will work with it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@246826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/URLHelpers.cpp