summaryrefslogtreecommitdiff
path: root/src/sort_playlist.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2015-05-11 01:28:52 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2015-05-11 22:24:55 +0200
commita7dab01eff8f389052eb7e71a4871954bccd7d49 (patch)
tree92f7c11bf62be71ab296315117c3a3bf136e7094 /src/sort_playlist.cpp
parentcf6cf7d7879de2eabd97ac3314b498231e3fa432 (diff)
replace boost::bind with std::bind
Diffstat (limited to 'src/sort_playlist.cpp')
-rw-r--r--src/sort_playlist.cpp26
1 files changed, 12 insertions, 14 deletions
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 <boost/bind.hpp>
-
#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<MPD::Song::GetFunction>(0)),
- boost::bind(&Self::sort, this)
+ std::bind(&Self::sort, this)
));
w.addItem(Entry(std::make_pair("Cancel", static_cast<MPD::Song::GetFunction>(0)),
- boost::bind(&Self::cancel, this)
+ std::bind(&Self::cancel, this)
));
}