client/List: use using instead of typedef

This commit is contained in:
Max Kellermann 2019-05-29 21:36:27 +02:00
parent 472e4bfd41
commit 0b4e7b3317

View File

@ -25,8 +25,9 @@
#include <boost/intrusive/list.hpp>
class ClientList {
typedef boost::intrusive::list<Client,
boost::intrusive::constant_time_size<true>> List;
using List =
boost::intrusive::list<Client,
boost::intrusive::constant_time_size<true>>;
const unsigned max_size;