Skip to content
Snippets Groups Projects
Commit c18cde6d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

robot-util: update sendMsg

fix:

…/sot-core/src/tools/robot-utils.cpp: In member function ‘void dynamicgraph::sot::RobotUtil::sendMsg(const string&, dynamicgraph::MsgType, const string&)’:
…/sot-core/src/tools/robot-utils.cpp:449:49: warning: ‘void dynamicgraph::Logger::sendMsg(std::__cxx11::string, dynamicgraph::MsgType, const string&)’ is deprecated: use stream(type, lineId) << msg [-Wdeprecated-declarations]
   logger_.sendMsg("[RobotUtil]" + msg, t, lineId);
                                                 ^
In file included from …/sot-core/include/sot/core/robot-utils.hh:23:0,
                 from …/sot-core/src/tools/robot-utils.cpp:29:
…ll/include/dynamic-graph/logger.h:225:3: note: declared here
   sendMsg(std::string msg, MsgType type, const std::string &lineId = "");
   ^~~~~~~
…/sot-core/src/tools/device.cpp: In member function ‘virtual void dynamicgraph::sot::Device::setState(const Vector&)’:
…/sot-core/src/tools/device.cpp:248:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       }
       ^
…/sot-core/src/tools/device.cpp:249:5: note: here
     case CONTROL_INPUT_ONE_INTEGRATION:
     ^~~~
parent d99910ce
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment