Revision f62f3b26

View differences:

src/client/middleware_ros.cpp
29 29

  
30 30
#include "humotion/mouth.h"
31 31
#include "humotion/gaze.h"
32
#include <boost/range/algorithm/remove_if.hpp>
33 32
#include <boost/algorithm/string/classification.hpp>
34 33

  
35 34
using namespace std;
......
43 42
    if (!ros::isInitialized()){
44 43
        tick_necessary = true;
45 44
        string node_name = "humotion_client__"+ base_scope;
46
        node_name.erase(boost::remove_if(node_name, boost::is_any_of("/")), node_name.end());
45
        node_name.erase(std::remove(node_name.begin(), node_name.end(), '/'), node_name.end());
47 46

  
48 47
        ros::M_string no_remapping;
49 48
        ros::init(no_remapping, node_name);

Also available in: Unified diff