From 507d8fdc6f63800cd022d77fbe2ccbdac097759f Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Tue, 10 Jun 2014 18:58:02 +0200
Subject: [PATCH] ClientList: add typedef List

---
 src/client/ClientList.hxx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

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<Client *> List;
+
 	const unsigned max_size;
 
 	unsigned size;
-	std::list<Client *> list;
+	List list;
 
 public:
 	ClientList(unsigned _max_size)
@@ -37,11 +39,11 @@ public:
 		CloseAll();
 	}
 
-	std::list<Client *>::iterator begin() {
+	List::iterator begin() {
 		return list.begin();
 	}
 
-	std::list<Client *>::iterator end() {
+	List::iterator end() {
 		return list.end();
 	}