diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-11 01:28:52 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-11 22:24:55 +0200 |
commit | a7dab01eff8f389052eb7e71a4871954bccd7d49 (patch) | |
tree | 92f7c11bf62be71ab296315117c3a3bf136e7094 /src/ncmpcpp.cpp | |
parent | cf6cf7d7879de2eabd97ac3314b498231e3fa432 (diff) |
replace boost::bind with std::bind
Diffstat (limited to 'src/ncmpcpp.cpp')
-rw-r--r-- | src/ncmpcpp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index 5c72d504..afd2b247 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -48,6 +48,8 @@ #include "title.h" #include "utility/conversion.h" +namespace ph = std::placeholders; + namespace { std::ofstream errorlog; @@ -225,7 +227,7 @@ int main(int argc, char **argv) try { auto k = Bindings.get(input); - std::any_of(k.first, k.second, boost::bind(&Binding::execute, _1)); + std::any_of(k.first, k.second, std::bind(&Binding::execute, ph::_1)); } catch (ConversionError &e) { |