replace boost::bind with std::bind

This commit is contained in:
Andrzej Rybczak
2015-05-11 01:28:52 +02:00
parent cf6cf7d787
commit a7dab01eff
12 changed files with 73 additions and 68 deletions

View File

@@ -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)
{