[kfilemetadata] Make it compile without foreach
ClosedPublic

Authored by mlaurent on Mar 10 2019, 1:26 PM.

Details

Summary

compile without foreach

Test Plan

autotest ok

Diff Detail

Repository
R286 KFileMetaData
Branch
compile_without_foreach (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9771
Build 9789: arc lint + arc unit
mlaurent created this revision.Mar 10 2019, 1:26 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptMar 10 2019, 1:26 PM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
mlaurent requested review of this revision.Mar 10 2019, 1:26 PM
bruns added a subscriber: bruns.Mar 10 2019, 2:51 PM
bruns added inline comments.
src/externalextractor.cpp
150

Can you change this to iterate over the entries, without intermediate list?

src/externalwriter.cpp
110–111

dito, iteration without intermediate list.

src/extractors/taglibextractor.cpp
928 ↗(On Diff #53597)

The changes in taglibextractor are no longer necessary after D18826 has landed, you can omit these.

mlaurent added inline comments.Mar 10 2019, 6:10 PM
src/extractors/taglibextractor.cpp
928 ↗(On Diff #53597)

Ah ? so all was not commited when you wrote that it"s ok to regenerate patch ?

bruns requested changes to this revision.Mar 17 2019, 8:42 PM
This revision now requires changes to proceed.Mar 17 2019, 8:42 PM
bruns added a reviewer: Baloo.Mar 17 2019, 8:43 PM
mlaurent updated this revision to Diff 54174.Mar 18 2019, 6:20 AM

Fix code as requested

bruns accepted this revision.Mar 18 2019, 6:23 AM
This revision is now accepted and ready to land.Mar 18 2019, 6:23 AM
This revision was automatically updated to reflect the committed changes.