@@ -15,7 +15,8 @@ Play::Play(TbotsProto::AiConfig ai_config, bool requires_goalie)
1515 goalie_tactic(std::make_shared<GoalieTactic>(ai_config)),
1616 halt_tactics(),
1717 requires_goalie(requires_goalie),
18- tactic_sequence(boost::bind(&Play::getNextTacticsWrapper, this , _1)),
18+ tactic_sequence(
19+ std::bind (&Play::getNextTacticsWrapper, this , std::placeholders::_1)),
1920 world_ptr_(std::nullopt ),
2021 obstacle_factory(ai_config.robot_navigation_obstacle_config())
2122{
@@ -42,7 +43,7 @@ PriorityTacticVector Play::getTactics(const WorldPtr &world_ptr)
4243 {
4344 // Make a new tactic_sequence
4445 tactic_sequence = TacticCoroutine::pull_type (
45- boost ::bind (&Play::getNextTacticsWrapper, this , _1));
46+ std ::bind (&Play::getNextTacticsWrapper, this , std::placeholders:: _1));
4647 // Run the coroutine. This will call the bound getNextTactics function
4748 tactic_sequence ();
4849 }
@@ -61,7 +62,7 @@ PriorityTacticVector Play::getTactics(const WorldPtr &world_ptr)
6162 {
6263 // Make a new tactic_sequence
6364 tactic_sequence = TacticCoroutine::pull_type (
64- boost ::bind (&Play::getNextTacticsWrapper, this , _1));
65+ std ::bind (&Play::getNextTacticsWrapper, this , std::placeholders:: _1));
6566 // Run the coroutine. This will call the bound getNextTactics function
6667 tactic_sequence ();
6768 if (tactic_sequence)
0 commit comments