summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift/Response.h')
-rw-r--r--Sluift/Response.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Sluift/Response.h b/Sluift/Response.h
index 1cd059a..b007897 100644
--- a/Sluift/Response.h
+++ b/Sluift/Response.h
@@ -8,6 +8,7 @@
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/ErrorPayload.h>
+#include <Swiften/Base/API.h>
struct lua_State;
@@ -15,6 +16,7 @@ namespace Swift {
namespace Sluift {
struct Response {
Response(boost::shared_ptr<Payload> result, boost::shared_ptr<ErrorPayload> error) : result(result), error(error) {}
+ SWIFTEN_DEFAULT_COPY_CONSTRUCTOR(Response)
~Response();
static Response withResult(boost::shared_ptr<Payload> response) {