Fix build with exiv2 0.28
ClosedPublic

Authored by nicolasfella on Apr 6 2019, 9:26 PM.

Details

Summary

Exiv2::Image::AutoPtr has been replaced with Exiv2::Image::UniqePtr in current master

Test Plan

exivextractor test passes, test images are indexed by Baloo

Diff Detail

Repository
R286 KFileMetaData
Branch
exiv
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10545
Build 10563: arc lint + arc unit
nicolasfella created this revision.Apr 6 2019, 9:26 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 6 2019, 9:26 PM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
nicolasfella requested review of this revision.Apr 6 2019, 9:26 PM
nicolasfella edited the summary of this revision. (Show Details)Apr 6 2019, 9:28 PM
nicolasfella edited the test plan for this revision. (Show Details)
nicolasfella added reviewers: mgallien, astippich, bruns.
nicolasfella edited the summary of this revision. (Show Details)Apr 6 2019, 9:43 PM
bruns added inline comments.Apr 6 2019, 9:51 PM
src/extractors/exiv2extractor.cpp
152 ↗(On Diff #55600)

Why not just #if EXIV2_TEST_VERSION(0,28,0) ?

  • Use EXIV_TEST_VERSION
nicolasfella added inline comments.Apr 6 2019, 10:22 PM
src/extractors/exiv2extractor.cpp
152 ↗(On Diff #55600)

That makes an awful lot of sense

bruns accepted this revision.Apr 6 2019, 10:22 PM
This revision is now accepted and ready to land.Apr 6 2019, 10:22 PM
This revision was automatically updated to reflect the committed changes.