1
0
Fork 0

Merge pull request #4898 from zhaowenlan1779/warning-room-member

network/room_member: Silence -Wswitch warning
This commit is contained in:
Pengfei Zhu 2019-08-21 09:14:28 +08:00 committed by GitHub
commit 8fa6be5b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,8 @@ private:
inline const char* GetStateStr(const RoomMember::State& s) { inline const char* GetStateStr(const RoomMember::State& s) {
switch (s) { switch (s) {
case RoomMember::State::Uninitialized:
return "Uninitialized";
case RoomMember::State::Idle: case RoomMember::State::Idle:
return "Idle"; return "Idle";
case RoomMember::State::Joining: case RoomMember::State::Joining: