D19317: compile without foreach
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu Feb 28 16:25:07 GMT 2019
apol accepted this revision.
apol added inline comments.
This revision is now accepted and ready to land.
INLINE COMMENTS
> imagedump.cpp:75
> out << "File formats:\n";
> - foreach (const QByteArray &fmt, QImageReader::supportedImageFormats()) {
> + const QList<QByteArray> lstSupportedFormats = QImageReader::supportedImageFormats();
> + for (const QByteArray &fmt : lstSupportedFormats) {
auto too?
REPOSITORY
R287 KImageFormats
BRANCH
compile_without_foreach (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D19317
To: mlaurent, dfaure, apol
Cc: apol, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190228/f05ab771/attachment.html>
More information about the Kde-frameworks-devel
mailing list