summaryrefslogtreecommitdiff
path: root/src/tar_type.h
diff options
context:
space:
mode:
authorglx22 <glx@openttd.org>2021-04-30 01:13:50 +0200
committerLoïc Guilloux <glx22@users.noreply.github.com>2021-05-03 19:46:57 +0200
commit34215f7faa2de08d767b4f6945443a8f3175acbf (patch)
treebcef64fe4b46afb04f4d4b6e0379c6386accbda1 /src/tar_type.h
parent7bcc472f73c774163285f71c235852ba0911e88e (diff)
downloadopenttd-34215f7faa2de08d767b4f6945443a8f3175acbf.tar.xz
Codechange: Replace FOR_ALL_TARS with range-based for loops
Diffstat (limited to 'src/tar_type.h')
-rw-r--r--src/tar_type.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tar_type.h b/src/tar_type.h
index c4e72df85..4266f2362 100644
--- a/src/tar_type.h
+++ b/src/tar_type.h
@@ -28,6 +28,4 @@ typedef std::map<std::string, TarFileListEntry> TarFileList;
extern std::array<TarList, NUM_SUBDIRS> _tar_list;
extern TarFileList _tar_filelist[NUM_SUBDIRS];
-#define FOR_ALL_TARS(tar, sd) for (tar = _tar_filelist[sd].begin(); tar != _tar_filelist[sd].end(); tar++)
-
#endif /* TAR_TYPE_H */