[Webkit-unassigned] [Bug 133467] [EFL]Build error in WebKit2/Shared/Downloads/soup/DownloadSoup.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 4 03:26:01 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=133467
--- Comment #5 from Carlos Garcia Campos <cgarcia at igalia.com> 2014-06-04 03:26:25 PST ---
(From update of attachment 232470)
View in context: https://bugs.webkit.org/attachment.cgi?id=232470&action=review
> Source/WebKit2/Shared/Downloads/soup/DownloadSoup.cpp:190
> - m_handleResponseLater.schedule("[WebKit] DownloadHandleResponseLater", std::bind(&DownloadClient::handleResponse, this));
> + m_handleResponseLater.schedule("[WebKit] DownloadHandleResponseLater", static_cast<std::function<void()>>(std::bind(&DownloadClient::handleResponse, this)));
I think you can use the function constructor instead of a static cast, something like std::function<void()>(std::bind(&DownloadClient::handleResponse, this)). I think it's cleaner.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list