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:
+1
-1
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user