Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / libvlcpp
Commits:
af592750 by Hugo Beauzée-Luyssen at 2017-12-19T11:37:58+01:00
EventManager: Fix build with MSVC 2017 (toolset 141)
- - - - -
1 changed file:
- vlcpp/EventManager.hpp
Changes:
=====================================
vlcpp/EventManager.hpp
=====================================
--- a/vlcpp/EventManager.hpp
+++ b/vlcpp/EventManager.hpp
@@ -125,7 +125,7 @@ public:
static_assert(std::is_convertible<decltype(e), const
EventHandlerBase*>::value, "Expected const RegisteredEvent");
{
- auto it = std::find_if(begin(m_lambdas), end(m_lambdas),
[&e](decltype(m_lambdas)::value_type &value) {
+ auto it = std::find_if(begin(m_lambdas), end(m_lambdas),
[&e](typename decltype(m_lambdas)::value_type &value) {
return e == value.get();
});
if (it != end(m_lambdas))
View it on GitLab:
https://code.videolan.org/videolan/libvlcpp/commit/af592750f8eac816e05d68c1fe7f9f4b451d8165
---
View it on GitLab:
https://code.videolan.org/videolan/libvlcpp/commit/af592750f8eac816e05d68c1fe7f9f4b451d8165
You're receiving this email because of your account on code.videolan.org.
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits