Merge pull request #4898 from zhaowenlan1779/warning-room-member
network/room_member: Silence -Wswitch warning
This commit is contained in:
commit
8fa6be5b15
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user