fix(ConferenceEventTester): do not use FALSE in C++ bool... (do not explicit pair too)

This commit is contained in:
Ronan Abhamon 2018-05-23 11:04:05 +02:00
parent 3a3c670e31
commit 794bd7b5dd

View file

@ -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();