summaryrefslogtreecommitdiff
path: root/src/tag_editor.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/tag_editor.cpp
parentcf6cf7d7879de2eabd97ac3314b498231e3fa432 (diff)
replace boost::bind with std::bind
Diffstat (limited to 'src/tag_editor.cpp')
-rw-r--r--src/tag_editor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tag_editor.cpp b/src/tag_editor.cpp
index c181b2b9..5557ddbc 100644
--- a/src/tag_editor.cpp
+++ b/src/tag_editor.cpp
@@ -22,7 +22,6 @@
#ifdef HAVE_TAGLIB_H
-#include <boost/bind.hpp>
#include <boost/locale/conversion.hpp>
#include <algorithm>
#include <fstream>
@@ -46,6 +45,8 @@ using Global::myScreen;
using Global::MainHeight;
using Global::MainStartY;
+namespace ph = std::placeholders;
+
TagEditor *myTagEditor;
namespace {
@@ -719,7 +720,7 @@ void TagEditor::setSearchConstraint(const std::string &constraint)
{
m_directories_search_predicate = Regex::Filter<std::pair<std::string, std::string>>(
Regex::make(constraint, Config.regex_type),
- boost::bind(DirEntryMatcher, _1, _2, false)
+ std::bind(DirEntryMatcher, ph::_1, ph::_2, false)
);
}
else if (w == Tags)