network/room_member: Silence -Wswitch warning
This causes lots of warnings. Adding the Uninitialized case solves this
This commit is contained in:
parent
1cf75e55c2
commit
698b471074
|
@ -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:
|
||||||
|
|
Reference in New Issue