Merge pull request #2109 from Exiv2/main_StringView

Refactoring & cleanup
This commit is contained in:
Luis Díaz Más
2022-02-21 22:29:43 +01:00
committed by GitHub
92 changed files with 352 additions and 816 deletions
+2 -2
View File
@@ -627,11 +627,11 @@ namespace Exiv2
}
}
void BmffImage::setComment(const std::string& /*comment*/)
void BmffImage::setComment(std::string_view /*comment*/)
{
// bmff files are read-only
throw(Error(kerInvalidSettingForImage, "Image comment", "BMFF"));
} // BmffImage::setComment
}
void BmffImage::openOrThrow()
{