Revision 888a909b server/src/MiddlewareROS.cpp

View differences:

server/src/MiddlewareROS.cpp
119 119
}
120 120

  
121 121
//call a tts system to convert a string to an utterance
122
boost::shared_ptr<Utterance> MiddlewareROS::tts_call(string text){
123
    boost::shared_ptr<Utterance> utterance(new Utterance());
122
std::shared_ptr<Utterance> MiddlewareROS::tts_call(string text){
123
    std::shared_ptr<Utterance> utterance(new Utterance());
124 124

  
125 125
    //double tts_timeout = 1.0; //seconds. DO NOT CHANGE THIS!
126 126
    if (tts_ac == NULL){
......
143 143
    }else{
144 144
        //done, return utterance ptr
145 145
        ttsResultConstPtr tts_res = tts_ac->getResult();
146
        boost::shared_ptr<Utterance> utterance(new UtteranceROS(tts_res));
146
        std::shared_ptr<Utterance> utterance(new UtteranceROS(tts_res));
147 147
        printf("> done. got utterance (text=%s)\n",utterance->get_text().c_str());
148 148
        return utterance;
149 149
    }

Also available in: Unified diff