From e472000507bd65f16166fc19a0e2f1972688efac Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Wed, 15 Feb 2023 19:09:09 +0800 Subject: [PATCH] fix(CI): AppleClang build failed fix --- app/exiv2wrapper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/exiv2wrapper.cpp b/app/exiv2wrapper.cpp index 36d280d7..48e3604c 100644 --- a/app/exiv2wrapper.cpp +++ b/app/exiv2wrapper.cpp @@ -27,6 +27,7 @@ Exiv2Wrapper::~Exiv2Wrapper() } +#ifdef HAVE_EXIV2_VERSION // stupid AppleClang... template void Exiv2Wrapper::cacheSection(Collection collection) { @@ -51,6 +52,7 @@ void Exiv2Wrapper::cacheSection(Collection collection) } } } +#endif // HAVE_EXIV2_VERSION bool Exiv2Wrapper::load(const QString &filePath) {