From d6c0d12ea220cbc39f4afbab8e0b6ebf49c34254 Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Sat, 3 Feb 2024 16:02:43 +0000 Subject: [PATCH] Fix clang-tidy: readability-non-const-parameter The change suggested for exiv2.cc fails on further checks. --- src/exiv2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exiv2.cc b/src/exiv2.cc index b41db975..e16d89b7 100644 --- a/src/exiv2.cc +++ b/src/exiv2.cc @@ -1235,7 +1235,7 @@ guchar *exif_get_preview(ExifData *exif, guint *data_len, gint requested_width, } } -void exif_free_preview(const guchar *buf) +void exif_free_preview(guchar *buf) { delete[] static_cast(buf); } -- 2.20.1