mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 09:12:49 +00:00
Merge pull request #4833 from wwylele/network-state
network/room_member: in-header function should be inline
This commit is contained in:
commit
4fb80cb079
|
@ -263,7 +263,7 @@ private:
|
|||
std::unique_ptr<RoomMemberImpl> room_member_impl;
|
||||
};
|
||||
|
||||
static const char* GetStateStr(const RoomMember::State& s) {
|
||||
inline const char* GetStateStr(const RoomMember::State& s) {
|
||||
switch (s) {
|
||||
case RoomMember::State::Idle:
|
||||
return "Idle";
|
||||
|
@ -277,7 +277,7 @@ static const char* GetStateStr(const RoomMember::State& s) {
|
|||
return "Unknown";
|
||||
}
|
||||
|
||||
static const char* GetErrorStr(const RoomMember::Error& e) {
|
||||
inline const char* GetErrorStr(const RoomMember::Error& e) {
|
||||
switch (e) {
|
||||
case RoomMember::Error::LostConnection:
|
||||
return "LostConnection";
|
||||
|
|
Loading…
Reference in a new issue