diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2013-07-09 23:08:49 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2013-07-09 23:14:14 +0200 |
commit | 0dcec65edf49674da2a7174f6ad1765ce2ad57c0 (patch) | |
tree | 85f59ca0282b522a1fb4c74e0003308a26c7fa10 /src/playlist_editor.cpp | |
parent | 12c7dc2f5bd6d2b2bc9fabd17bf97b00e20fd431 (diff) |
use boost::bind instead of std::bind until boost placeholders are in separate namespace
Diffstat (limited to 'src/playlist_editor.cpp')
-rw-r--r-- | src/playlist_editor.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/playlist_editor.cpp b/src/playlist_editor.cpp index 1912b69f..d82b6a1d 100644 --- a/src/playlist_editor.cpp +++ b/src/playlist_editor.cpp @@ -18,8 +18,9 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include <cassert> #include <algorithm> +#include <boost/bind.hpp> +#include <cassert> #include "charset.h" #include "display.h" @@ -36,8 +37,6 @@ #include "title.h" #include "screen_switcher.h" -using namespace std::placeholders; - using Global::MainHeight; using Global::MainStartY; @@ -79,9 +78,9 @@ PlaylistEditor::PlaylistEditor() Content.setSelectedPrefix(Config.selected_item_prefix); Content.setSelectedSuffix(Config.selected_item_suffix); if (Config.columns_in_playlist_editor) - Content.setItemDisplayer(std::bind(Display::SongsInColumns, _1, contentProxyList())); + Content.setItemDisplayer(boost::bind(Display::SongsInColumns, _1, contentProxyList())); else - Content.setItemDisplayer(std::bind(Display::Songs, _1, contentProxyList(), Config.song_list_format)); + Content.setItemDisplayer(boost::bind(Display::Songs, _1, contentProxyList(), Config.song_list_format)); w = &Playlists; } |