[vlc-devel] [PATCH 2/2] qt: fix compilation
KO Myung-Hun
komh78 at gmail.com
Fri Jul 21 01:18:39 CEST 2017
Include algorithm.
-----
CXX gui/qt/components/libqt_plugin_la-extended_panels.lo
...
gui/qt/components/extended_panels.cpp: In function 'QString ChangeFiltersString(intf_thread_t*, const char*, const char*, bool)':
gui/qt/components/extended_panels.cpp:296:62: error: no matching function for call to 'find(QList<QString>::iterator, QList<QString>::iterator, const char*&)'
if( b_add && std::find(list.begin(), list.end(), psz_name) == list.end() )
...
-----
---
modules/gui/qt/components/extended_panels.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/components/extended_panels.cpp b/modules/gui/qt/components/extended_panels.cpp
index b6874ea295..8e34b817ec 100644
--- a/modules/gui/qt/components/extended_panels.cpp
+++ b/modules/gui/qt/components/extended_panels.cpp
@@ -29,6 +29,8 @@
#include <math.h>
+#include <algorithm>
+
#include <QLabel>
#include <QVariant>
#include <QString>
--
2.11.0
More information about the vlc-devel
mailing list