aboutsummaryrefslogtreecommitdiff
path: root/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'room.cpp')
-rw-r--r--room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index b647a506..28107228 100644
--- a/room.cpp
+++ b/room.cpp
@@ -510,7 +510,7 @@ void Room::Private::addMember(User *u)
{
insertMemberIntoMap(u);
connect(u, &User::nameChanged, q,
- bind(&Private::renameMember, this, _1, _2));
+ std::bind(&Private::renameMember, this, u, _2));
emit q->userAdded(u);
}
}