Codechange: make SetDebugString use C++-style strings and function types

This commit is contained in:
Rubidium
2025-04-24 23:50:59 +02:00
committed by rubidium42
parent 498a0f1c1b
commit 86039a5b69
5 changed files with 37 additions and 41 deletions

View File

@@ -198,7 +198,7 @@ static INT_PTR CALLBACK HelpDialogFunc(HWND wnd, UINT msg, WPARAM wParam, LPARAM
return FALSE;
}
void ShowInfoI(const std::string &str)
void ShowInfoI(std::string_view str)
{
if (_has_console) {
fmt::print(stderr, "{}\n", str);