input/async: eliminate attribute "postponed_error"
Switch the remaining users to "postponed_exception".
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include "event/DeferredCall.hxx"
|
||||
#include "util/HugeAllocator.hxx"
|
||||
#include "util/CircularBuffer.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <exception>
|
||||
|
||||
@@ -67,8 +66,6 @@ class AsyncInputStream : public InputStream {
|
||||
offset_type seek_offset;
|
||||
|
||||
protected:
|
||||
Error postponed_error;
|
||||
|
||||
std::exception_ptr postponed_exception;
|
||||
|
||||
public:
|
||||
@@ -116,11 +113,6 @@ protected:
|
||||
open = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pass an error from the I/O thread to the client thread.
|
||||
*/
|
||||
void PostponeError(Error &&error);
|
||||
|
||||
bool IsBufferEmpty() const {
|
||||
return buffer.IsEmpty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user