diff options
author | Viktor Szépe <viktor@szepe.net> | 2024-01-16 00:26:53 +0100 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2024-01-16 00:26:53 +0100 |
commit | 2044ae6b3af6fab4d79996a661fef43f6db8d825 (patch) | |
tree | 49f827eb5f5cc0eca379bce989cbe9450e4831c9 /src/network | |
parent | Fix typos in src/core (#12625) (diff) | |
download | yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.gz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.bz2 yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.lz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.xz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.zst yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.zip |
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/room_member.cpp | 2 | ||||
-rw-r--r-- | src/network/room_member.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/room_member.cpp b/src/network/room_member.cpp index b94cb24ad..a6845273c 100644 --- a/src/network/room_member.cpp +++ b/src/network/room_member.cpp @@ -724,7 +724,7 @@ RoomMember::CallbackHandle<RoomInformation> RoomMember::BindOnRoomInformationCha return room_member_impl->Bind(callback); } -RoomMember::CallbackHandle<ChatEntry> RoomMember::BindOnChatMessageRecieved( +RoomMember::CallbackHandle<ChatEntry> RoomMember::BindOnChatMessageReceived( std::function<void(const ChatEntry&)> callback) { return room_member_impl->Bind(callback); } diff --git a/src/network/room_member.h b/src/network/room_member.h index 33ac18e72..37e9ea16a 100644 --- a/src/network/room_member.h +++ b/src/network/room_member.h @@ -254,7 +254,7 @@ public: * @param callback The function to call * @return A handle used for removing the function from the registered list */ - CallbackHandle<ChatEntry> BindOnChatMessageRecieved( + CallbackHandle<ChatEntry> BindOnChatMessageReceived( std::function<void(const ChatEntry&)> callback); /** |