InputStream: add method ClearMimeType()
This commit is contained in:
parent
1f59701c46
commit
05c63af7c4
@ -200,6 +200,10 @@ public:
|
||||
return mime.empty() ? nullptr : mime.c_str();
|
||||
}
|
||||
|
||||
void ClearMimeType() {
|
||||
mime.clear();
|
||||
}
|
||||
|
||||
gcc_nonnull_all
|
||||
void SetMimeType(const char *_mime) {
|
||||
assert(!ready);
|
||||
|
Loading…
Reference in New Issue
Block a user