[vlc-commits] medialib: Fix macOS debug builds

Hugo Beauzée-Luyssen git at videolan.org
Thu Feb 7 11:41:36 CET 2019


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Feb  7 11:41:02 2019 +0100| [d3a6de31c91e6ae1bcd1ead2de6364e40d48076b] | committer: Hugo Beauzée-Luyssen

medialib: Fix macOS debug builds

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3a6de31c91e6ae1bcd1ead2de6364e40d48076b
---

 modules/misc/medialibrary/entities.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/medialibrary/entities.cpp b/modules/misc/medialibrary/entities.cpp
index c9c411639f..3d92b113c7 100644
--- a/modules/misc/medialibrary/entities.cpp
+++ b/modules/misc/medialibrary/entities.cpp
@@ -404,7 +404,7 @@ input_item_t* MediaToInputItem( const medialibrary::IMedia* media )
                                   [](const medialibrary::FilePtr& f) {
         return f->type() == medialibrary::IFile::Type::Main;
     });
-    assert( it != cend( files ) );
+    assert( it != files.cend() );
     std::string mrl;
     try
     {



More information about the vlc-commits mailing list