diff --git a/openbr/openbr_plugin.h b/openbr/openbr_plugin.h index 5476638..3a8aa85 100644 --- a/openbr/openbr_plugin.h +++ b/openbr/openbr_plugin.h @@ -277,7 +277,7 @@ struct BR_EXPORT File static QList get(const QList &fileList, const QString &key, const T &defaultValue) { QList result; result.reserve(fileList.size()); - foreach (const U &f, fileList) result.append(((const File&)f).get(key, defaultValue)); + foreach (const U &f, fileList) result.append(static_cast(f).get(key, defaultValue)); return result; }