summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-05-22 15:39:22 +0000
committersmatz <smatz@openttd.org>2009-05-22 15:39:22 +0000
commit56a7b70591f933b587f091de66ba50c988894cac (patch)
tree57268de5948930a05403c687dd851cac5b582fc7 /src/core
parent10d1ef5447b94d17024dc0f4bdd1b7b017431a23 (diff)
downloadopenttd-56a7b70591f933b587f091de66ba50c988894cac.tar.xz
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
Diffstat (limited to 'src/core')
-rw-r--r--src/core/pool_func.hpp2
-rw-r--r--src/core/pool_type.hpp (renamed from src/core/pool.hpp)8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/pool_func.hpp b/src/core/pool_func.hpp
index df9e2692f..3ac28f472 100644
--- a/src/core/pool_func.hpp
+++ b/src/core/pool_func.hpp
@@ -7,7 +7,7 @@
#include "alloc_func.hpp"
#include "mem_func.hpp"
-#include "pool.hpp"
+#include "pool_type.hpp"
#define DEFINE_POOL_METHOD(type) \
template <class Titem, typename Tindex, size_t Tgrowth_step, size_t Tmax_size> \
diff --git a/src/core/pool.hpp b/src/core/pool_type.hpp
index 7c95803f7..2d32df724 100644
--- a/src/core/pool.hpp
+++ b/src/core/pool_type.hpp
@@ -1,9 +1,9 @@
/* $Id$ */
-/** @file pool.hpp Defintion of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items. */
+/** @file pool_type.hpp Defintion of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items. */
-#ifndef POOL_HPP
-#define POOL_HPP
+#ifndef POOL_TYPE_HPP
+#define POOL_TYPE_HPP
template <class Titem, typename Tindex, size_t Tgrowth_step, size_t Tmax_size>
struct Pool {
@@ -281,4 +281,4 @@ private:
#define FOR_ALL_ITEMS(type, iter, var) FOR_ALL_ITEMS_FROM(type, iter, var, 0)
-#endif /* POOL_HPP */
+#endif /* POOL_TYPE_HPP */