summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/pool_type.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/pool_type.hpp b/src/core/pool_type.hpp
index 565f1500e..0dba9a0b4 100644
--- a/src/core/pool_type.hpp
+++ b/src/core/pool_type.hpp
@@ -363,10 +363,4 @@ private:
void FreeItem(size_t index);
};
-#define FOR_ALL_ITEMS_FROM(type, iter, var, start) \
- for (size_t iter = start; var = nullptr, iter < type::GetPoolSize(); iter++) \
- if ((var = type::Get(iter)) != nullptr)
-
-#define FOR_ALL_ITEMS(type, iter, var) FOR_ALL_ITEMS_FROM(type, iter, var, 0)
-
#endif /* POOL_TYPE_HPP */