citra-emu
/
citra-canary
Archived
1
0
Fork 0

Merge pull request #4833 from wwylele/network-state

network/room_member: in-header function should be inline
This commit is contained in:
Pengfei Zhu 2019-07-15 07:29:49 +08:00 committed by GitHub
commit 4fb80cb079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -263,7 +263,7 @@ private:
std::unique_ptr<RoomMemberImpl> room_member_impl; 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) { switch (s) {
case RoomMember::State::Idle: case RoomMember::State::Idle:
return "Idle"; return "Idle";
@ -277,7 +277,7 @@ static const char* GetStateStr(const RoomMember::State& s) {
return "Unknown"; return "Unknown";
} }
static const char* GetErrorStr(const RoomMember::Error& e) { inline const char* GetErrorStr(const RoomMember::Error& e) {
switch (e) { switch (e) {
case RoomMember::Error::LostConnection: case RoomMember::Error::LostConnection:
return "LostConnection"; return "LostConnection";