remove constexpr

const_iterator is not constexpr. clang 15 on MSYS2 fails to compile
because of this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-03-22 21:01:52 -07:00
parent 513b0e8bbd
commit 8fe2ae6030

View File

@ -8,7 +8,7 @@
// Type for an Exiv2 Easy access function
using EasyAccessFct = Exiv2::ExifData::const_iterator (*)(const Exiv2::ExifData&);
static constexpr struct {
static const struct {
const char* l;
EasyAccessFct f;
const char* n;