mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	network/room_member: in-header function should be inline
Otherwise produces multpile definition in translation units and generates unused warnings
This commit is contained in:
		
							parent
							
								
									e689847b11
								
							
						
					
					
						commit
						2bbbfa86d8
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue