[vlc-commits] npapi: plugin_base: Ensure ownership of a listener is transfered to the event wrapper
Hugo Beauzée-Luyssen
git at videolan.org
Tue Apr 21 10:16:09 CEST 2015
npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Apr 3 12:49:17 2015 +0200| [dff0192d1512568b63c6060f5e7b28da6e2dc6ac] | committer: Hugo Beauzée-Luyssen
npapi: plugin_base: Ensure ownership of a listener is transfered to the event wrapper
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=dff0192d1512568b63c6060f5e7b28da6e2dc6ac
---
npapi/vlcplugin_base.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index 67b8c1c..bac8107 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -266,7 +266,7 @@ bool VlcPluginBase::handle_event(void *)
struct AsyncEventWrapper
{
- AsyncEventWrapper(NPP b, npapi::Variant l, npapi::VariantArray a)
+ AsyncEventWrapper(NPP b, npapi::Variant&& l, npapi::VariantArray&& a)
: browser( b )
, listener( std::move( l ) )
, args( std::move( a ) )
More information about the vlc-commits
mailing list