Image::setComment now takes string_view

This commit is contained in:
Luis Díaz Más
2022-02-16 19:25:59 +01:00
parent 56b5ab9a29
commit a6185d29c6
32 changed files with 37 additions and 40 deletions
+2 -2
View File
@@ -627,11 +627,11 @@ namespace Exiv2
}
}
void BmffImage::setComment(const std::string& /*comment*/)
void BmffImage::setComment(const std::string_view /*comment*/)
{
// bmff files are read-only
throw(Error(kerInvalidSettingForImage, "Image comment", "BMFF"));
} // BmffImage::setComment
}
void BmffImage::openOrThrow()
{