mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #1442 from lioncash/format
text_formatter: Avoid unnecessary string temporary creation in PrintMessage()
This commit is contained in:
		
						commit
						fe292573de
					
				| @ -31,7 +31,7 @@ std::string FormatLogMessage(const Entry& entry) { | ||||
| } | ||||
| 
 | ||||
| void PrintMessage(const Entry& entry) { | ||||
|     auto str = FormatLogMessage(entry) + '\n'; | ||||
|     const auto str = FormatLogMessage(entry).append(1, '\n'); | ||||
|     fputs(str.c_str(), stderr); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 bunnei
						bunnei