diff options
author | glx <glx@openttd.org> | 2019-12-17 18:57:53 +0100 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2019-12-21 20:13:03 +0100 |
commit | 11f178a312d1a601aa14f9188f05f4a4cd033cf9 (patch) | |
tree | dfc50d0f6714abfae49305d70842856ec9d75f8e /src/newgrf_storage.h | |
parent | d8a1be48cd60c690235de175e9a044b95f92ea28 (diff) | |
download | openttd-11f178a312d1a601aa14f9188f05f4a4cd033cf9.tar.xz |
Codechange: Replace FOR_ALL_STORAGES with range-based for loops
Diffstat (limited to 'src/newgrf_storage.h')
-rw-r--r-- | src/newgrf_storage.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/newgrf_storage.h b/src/newgrf_storage.h index 153d4c91d..61206a587 100644 --- a/src/newgrf_storage.h +++ b/src/newgrf_storage.h @@ -230,7 +230,4 @@ struct PersistentStorage : PersistentStorageArray<int32, 256>, PersistentStorage assert_compile(cpp_lengthof(OldPersistentStorage, storage) <= cpp_lengthof(PersistentStorage, storage)); -#define FOR_ALL_STORAGES_FROM(var, start) FOR_ALL_ITEMS_FROM(PersistentStorage, storage_index, var, start) -#define FOR_ALL_STORAGES(var) FOR_ALL_STORAGES_FROM(var, 0) - #endif /* NEWGRF_STORAGE_H */ |