summaryrefslogtreecommitdiff
path: root/src/bindings.h
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/bindings.h
parentcf6cf7d7879de2eabd97ac3314b498231e3fa432 (diff)
replace boost::bind with std::bind
Diffstat (limited to 'src/bindings.h')
-rw-r--r--src/bindings.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bindings.h b/src/bindings.h
index 06401469..929000be 100644
--- a/src/bindings.h
+++ b/src/bindings.h
@@ -22,7 +22,6 @@
#define NCMPCPP_BINDINGS_H
#include <algorithm>
-#include <boost/bind.hpp>
#include <cassert>
#include <unordered_map>
#include "actions.h"
@@ -67,7 +66,7 @@ struct Binding
bool execute() const {
return std::all_of(m_actions.begin(), m_actions.end(),
- boost::bind(&Actions::BaseAction::execute, _1)
+ std::bind(&Actions::BaseAction::execute, std::placeholders::_1)
);
}