From a7dab01eff8f389052eb7e71a4871954bccd7d49 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 11 May 2015 01:28:52 +0200 Subject: replace boost::bind with std::bind --- src/sort_playlist.cpp | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'src/sort_playlist.cpp') diff --git a/src/sort_playlist.cpp b/src/sort_playlist.cpp index bada7963..58eba3f3 100644 --- a/src/sort_playlist.cpp +++ b/src/sort_playlist.cpp @@ -18,8 +18,6 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include - #include "charset.h" #include "display.h" #include "global.h" @@ -50,41 +48,41 @@ SortPlaylistDialog::SortPlaylistDialog() }); w.addItem(Entry(std::make_pair("Artist", &MPD::Song::getArtist), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Album", &MPD::Song::getAlbum), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Disc", &MPD::Song::getDisc), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Track", &MPD::Song::getTrack), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Genre", &MPD::Song::getGenre), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Date", &MPD::Song::getDate), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Composer", &MPD::Song::getComposer), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Performer", &MPD::Song::getPerformer), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Title", &MPD::Song::getTitle), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addItem(Entry(std::make_pair("Filename", &MPD::Song::getURI), - boost::bind(&Self::moveSortOrderHint, this) + std::bind(&Self::moveSortOrderHint, this) )); w.addSeparator(); w.addItem(Entry(std::make_pair("Sort", static_cast(0)), - boost::bind(&Self::sort, this) + std::bind(&Self::sort, this) )); w.addItem(Entry(std::make_pair("Cancel", static_cast(0)), - boost::bind(&Self::cancel, this) + std::bind(&Self::cancel, this) )); } -- cgit v1.2.3