diff options
author | rubidium <rubidium@openttd.org> | 2009-10-19 09:15:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-19 09:15:47 +0000 |
commit | 08ac51fada56ee84a98ced07c2ec9a1b16bd8692 (patch) | |
tree | 7975e0cae230445acefafd170adcc975dd2f6c42 /src/cargopacket.h | |
parent | 2cca30d2e308ca63eacdfcc9d45920c4b2f2a37c (diff) | |
download | openttd-08ac51fada56ee84a98ced07c2ec9a1b16bd8692.tar.xz |
(svn r17813) -Codechange: unify the CargoPacket related coding style
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r-- | src/cargopacket.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h index 90081855e..692cbb91b 100644 --- a/src/cargopacket.h +++ b/src/cargopacket.h @@ -185,8 +185,12 @@ public: template <class Tinst> class CargoList { public: - /** List of cargo packets */ + /** Container with cargo packets */ typedef std::list<CargoPacket *> List; + /** The iterator for our container */ + typedef List::iterator Iterator; + /** The const iterator for our container */ + typedef List::const_iterator ConstIterator; /** Kind of actions that could be done with packets on move */ enum MoveToAction { |