From 7b413bd39fe6f3ddd9f7ea2e8a83464bd6da30da Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 25 Jul 2013 16:09:40 -0400 Subject: [PATCH] improved cast readability --- openbr/openbr_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- libgit2 0.21.4