diff options
author | Max Kellermann <max@musicpd.org> | 2019-05-29 21:36:27 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-05-29 21:36:27 +0200 |
commit | 0b4e7b3317781af1dd27fa90317ee51f26b4f4c7 (patch) | |
tree | 200ba927a76b22ffbab4344ec79c61934c7c6562 /src/client | |
parent | 472e4bfd41f4234ca876a8ead5ab867c7760d7fb (diff) |
client/List: use `using` instead of `typedef`
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/List.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/List.hxx b/src/client/List.hxx index 9a0202f8e..15a91d3be 100644 --- a/src/client/List.hxx +++ b/src/client/List.hxx @@ -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; |