1
0
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:
Peter Nelson
2025-10-05 15:47:33 +01:00
committed by GitHub
parent c9fbc41636
commit a617d009cc
12 changed files with 19 additions and 19 deletions

View File

@@ -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()) {