aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'room.h')
-rw-r--r--room.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/room.h b/room.h
index 77d56377..9a458c4e 100644
--- a/room.h
+++ b/room.h
@@ -57,10 +57,7 @@ namespace QMatrixClient
index_t index() const { return idx; }
// Used for event redaction
- RoomEventPtr replaceEvent(RoomEventPtr&& other)
- {
- return std::exchange(evt, std::move(other));
- }
+ RoomEventPtr replaceEvent(RoomEventPtr&& other);
private:
RoomEventPtr evt;