filter/Filter: Flush() returns empty span, not nullptr
This commit is contained in:
@@ -128,7 +128,7 @@ try {
|
||||
|
||||
while (true) {
|
||||
auto dest = filter->Flush();
|
||||
if (dest.data() == nullptr)
|
||||
if (dest.empty())
|
||||
break;
|
||||
output_fd.FullWrite(dest);
|
||||
}
|
||||
|
Reference in New Issue
Block a user