remove string_view from headers

This should allow usage with C++11 projects. It's also wrong. The only
user of this assigns an std::string from a string_view, which is not
safe.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2022-07-01 23:44:14 -07:00
parent 5479792d50
commit 9ca7f861cf
35 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -570,7 +570,7 @@ void BmffImage::parseCr3Preview(DataBuf& data, std::ostream& out, bool bTrace, u
}
}
void BmffImage::setComment(std::string_view /*comment*/) {
void BmffImage::setComment(const std::string&) {
// bmff files are read-only
throw(Error(ErrorCode::kerInvalidSettingForImage, "Image comment", "BMFF"));
}