mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 01:22:37 -06:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue