replace boost::bind with std::bind
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user