mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix(ConferenceEventTester): do not use FALSE in C++ bool... (do not explicit pair too)
This commit is contained in:
parent
3a3c670e31
commit
794bd7b5dd
1 changed files with 3 additions and 2 deletions
|
|
@ -492,9 +492,10 @@ void ConferenceEventTester::onFirstNotifyReceived (const IdentityAddress &addr)
|
|||
void ConferenceEventTester::onParticipantAdded (const shared_ptr<ConferenceParticipantEvent> &event, bool isFullState) {
|
||||
(void)isFullState; // unused
|
||||
const IdentityAddress addr = event->getParticipantAddress();
|
||||
participants.insert(pair<string, bool>(addr.asString(), FALSE));
|
||||
participantDevices.insert(pair<string, int>(addr.asString(), 0));
|
||||
participants.insert({ addr.asString(), false });
|
||||
participantDevices.insert({ addr.asString(), 0 });
|
||||
}
|
||||
|
||||
void ConferenceEventTester::onParticipantRemoved (const shared_ptr<ConferenceParticipantEvent> &event, bool isFullState) {
|
||||
(void)isFullState; // unused
|
||||
const IdentityAddress addr = event->getParticipantAddress();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue