summaryrefslogtreecommitdiff
path: root/src/cargopacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r--src/cargopacket.h6
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 {