npapi-vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | 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 ) ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
