diff --git a/src/client/ClientList.hxx b/src/client/ClientList.hxx index 35022fbf1..4d9a96dcb 100644 --- a/src/client/ClientList.hxx +++ b/src/client/ClientList.hxx @@ -25,10 +25,12 @@ class Client; class ClientList { + typedef std::list List; + const unsigned max_size; unsigned size; - std::list list; + List list; public: ClientList(unsigned _max_size) @@ -37,11 +39,11 @@ public: CloseAll(); } - std::list::iterator begin() { + List::iterator begin() { return list.begin(); } - std::list::iterator end() { + List::iterator end() { return list.end(); }