mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
refactor: StrUtils::Concat 用于连接字符串,比 + 更快
This commit is contained in:
parent
053a60e2e0
commit
19ffb76203
7 changed files with 111 additions and 8 deletions
|
|
@ -58,7 +58,7 @@ bool GraphicsCaptureFrameSource::Initialize() {
|
|||
return false;
|
||||
}
|
||||
} catch (const winrt::hresult_error& e) {
|
||||
Logger::Get().Error(fmt::format("初始化 WinRT 失败:{}", StrUtils::UTF16ToUTF8(e.message())));
|
||||
Logger::Get().Error(StrUtils::Concat("初始化 WinRT 失败:", StrUtils::UTF16ToUTF8(e.message())));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue