input/async: eliminate attribute "postponed_error"

Switch the remaining users to "postponed_exception".
This commit is contained in:
Max Kellermann
2016-09-09 18:49:21 +02:00
parent 7acd91331c
commit 13259225c2
2 changed files with 8 additions and 32 deletions

View File

@@ -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();
}