diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/room_member.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/room_member.cpp b/src/network/room_member.cpp index 572e55a5b..b94cb24ad 100644 --- a/src/network/room_member.cpp +++ b/src/network/room_member.cpp @@ -716,7 +716,7 @@ RoomMember::CallbackHandle<ProxyPacket> RoomMember::BindOnProxyPacketReceived( RoomMember::CallbackHandle<LDNPacket> RoomMember::BindOnLdnPacketReceived( std::function<void(const LDNPacket&)> callback) { - return room_member_impl->Bind(callback); + return room_member_impl->Bind(std::move(callback)); } RoomMember::CallbackHandle<RoomInformation> RoomMember::BindOnRoomInformationChanged( |