summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Queries/Request.h')
-rw-r--r--Swiften/Queries/Request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Queries/Request.h b/Swiften/Queries/Request.h
index 8f7a1d1..cc4a58e 100644
--- a/Swiften/Queries/Request.h
+++ b/Swiften/Queries/Request.h
@@ -9,7 +9,7 @@
#include "Swiften/Queries/IQHandler.h"
#include "Swiften/Elements/IQ.h"
#include "Swiften/Elements/Payload.h"
-#include "Swiften/Elements/Error.h"
+#include "Swiften/Elements/ErrorPayload.h"
#include "Swiften/JID/JID.h"
namespace Swift {
@@ -32,7 +32,7 @@ namespace Swift {
payload_ = p;
}
- virtual void handleResponse(boost::shared_ptr<Payload>, boost::optional<Error>) = 0;
+ virtual void handleResponse(boost::shared_ptr<Payload>, boost::optional<ErrorPayload>) = 0;
private:
bool handleIQ(boost::shared_ptr<IQ>);