client/List: use auto

This commit is contained in:
Max Kellermann 2019-05-29 21:31:43 +02:00
parent 39046bed85
commit d3d70a7eed

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003-2018 The Music Player Daemon Project * Copyright 2003-2019 The Music Player Daemon Project
* http://www.musicpd.org * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
@ -40,11 +40,11 @@ public:
CloseAll(); CloseAll();
} }
List::iterator begin() noexcept { auto begin() noexcept {
return list.begin(); return list.begin();
} }
List::iterator end() noexcept { auto end() noexcept {
return list.end(); return list.end();
} }