Codechange: Replace FOR_ALL_TARS with range-based for loops

This commit is contained in:
glx22
2021-04-30 01:13:50 +02:00
committed by Loïc Guilloux
parent 7bcc472f73
commit 34215f7faa
4 changed files with 13 additions and 18 deletions

View File

@@ -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 */