mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-30 15:44:31 +01:00
Codechange: Dereference with x-> instead of (*x). (#14700)
This commit is contained in:
@@ -593,7 +593,7 @@ bool ExtractTar(const std::string &tar_filename, Subdirectory subdir)
|
||||
/* We don't know the file. */
|
||||
if (it == _tar_list[subdir].end()) return false;
|
||||
|
||||
const auto &dirname = (*it).second;
|
||||
const auto &dirname = it->second;
|
||||
|
||||
/* The file doesn't have a sub directory! */
|
||||
if (dirname.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user