aboutsummaryrefslogtreecommitdiff
path: root/jobs/roommessagesjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/roommessagesjob.cpp')
-rw-r--r--jobs/roommessagesjob.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/jobs/roommessagesjob.cpp b/jobs/roommessagesjob.cpp
index 9af1b3a6..e5568f17 100644
--- a/jobs/roommessagesjob.cpp
+++ b/jobs/roommessagesjob.cpp
@@ -23,7 +23,7 @@ using namespace QMatrixClient;
class RoomMessagesJob::Private
{
public:
- Owning<RoomEvents> events;
+ RoomEvents events;
QString end;
};
@@ -46,9 +46,9 @@ RoomMessagesJob::~RoomMessagesJob()
delete d;
}
-RoomEvents RoomMessagesJob::releaseEvents()
+RoomEvents&& RoomMessagesJob::releaseEvents()
{
- return d->events.release();
+ return move(d->events);
}
QString RoomMessagesJob::end() const