1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 17:02:37 +01:00

Codechange: use std::string_view in IConsole settings API

This commit is contained in:
Rubidium
2025-04-21 22:28:57 +02:00
committed by rubidium42
parent b279bc37e7
commit 917ef03e97
3 changed files with 11 additions and 11 deletions

View File

@@ -2329,7 +2329,7 @@ static bool ConListSettings([[maybe_unused]] uint8_t argc, [[maybe_unused]] char
if (argc > 2) return false;
IConsoleListSettings((argc == 2) ? argv[1] : nullptr);
IConsoleListSettings((argc == 2) ? argv[1] : std::string_view{});
return true;
}