fix(CI): AppleClang build failed fix

This commit is contained in:
Gary Wang 2023-02-15 19:09:09 +08:00
parent b11ea43ee5
commit e472000507
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760

View File

@ -27,6 +27,7 @@ Exiv2Wrapper::~Exiv2Wrapper()
} }
#ifdef HAVE_EXIV2_VERSION // stupid AppleClang...
template<typename Collection, typename Iterator> template<typename Collection, typename Iterator>
void Exiv2Wrapper::cacheSection(Collection collection) void Exiv2Wrapper::cacheSection(Collection collection)
{ {
@ -51,6 +52,7 @@ void Exiv2Wrapper::cacheSection(Collection collection)
} }
} }
} }
#endif // HAVE_EXIV2_VERSION
bool Exiv2Wrapper::load(const QString &filePath) bool Exiv2Wrapper::load(const QString &filePath)
{ {