Codechange: pass command line arguments as std::span to openttd_main

This commit is contained in:
Rubidium
2024-04-11 13:25:40 +02:00
committed by rubidium42
parent 3316b27496
commit eda10abc8c
5 changed files with 21 additions and 24 deletions

View File

@@ -29,5 +29,5 @@ int CDECL main(int argc, char *argv[])
signal(SIGPIPE, SIG_IGN);
return openttd_main(argc, argv);
return openttd_main(std::span(argv, argc));
}