1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 17:32:45 +01:00

Codechange: replace char* from settingsgen

This commit is contained in:
Rubidium
2025-04-28 21:22:20 +02:00
committed by rubidium42
parent 47b5ca6115
commit be53bd320d
4 changed files with 66 additions and 88 deletions

View File

@@ -183,7 +183,7 @@ void IniLoadFile::RemoveGroup(std::string_view name)
* @param subdir the sub directory to load the file from.
* @pre nothing has been loaded yet.
*/
void IniLoadFile::LoadFromDisk(const std::string &filename, Subdirectory subdir)
void IniLoadFile::LoadFromDisk(std::string_view filename, Subdirectory subdir)
{
assert(this->groups.empty());