Skip to content
Snippets Groups Projects
Commit ce665381 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

MediaList: Accept a temporary instance

parent 43fb4106
No related branches found
No related tags found
1 merge request!19Accept temporary VLC::Instance to construct other objects
......@@ -96,7 +96,7 @@ public:
*
* \param p_instance libvlc instance
*/
MediaList(Instance& instance)
MediaList(const Instance& instance)
: Internal{ libvlc_media_list_new( getInternalPtr<libvlc_instance_t>( instance ) ),
libvlc_media_list_release }
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment