mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 03:42:41 +01:00
Codechange: use const for std::string_view where appropriate
This commit is contained in:
@@ -1152,7 +1152,7 @@ uint FileScanner::Scan(std::string_view extension, Subdirectory sd, bool tars, b
|
||||
* @return the number of found files, i.e. the number of times that
|
||||
* AddFile returned true.
|
||||
*/
|
||||
uint FileScanner::Scan(const std::string_view extension, const std::string &directory, bool recursive)
|
||||
uint FileScanner::Scan(std::string_view extension, const std::string &directory, bool recursive)
|
||||
{
|
||||
std::string path(directory);
|
||||
AppendPathSeparator(path);
|
||||
|
||||
Reference in New Issue
Block a user