Skip to content
Snippets Groups Projects
Commit 4566a70a authored by Joan Perez Ibarz's avatar Joan Perez Ibarz
Browse files

changing initialization order for dsrv and diagnostic to skip warning

parent 9ccccf77
No related branches found
No related tags found
No related merge requests found
......@@ -279,8 +279,8 @@ IriBaseAlgorithm<Algorithm>::IriBaseAlgorithm() :
public_node_handle_(ros::this_node::getName()),
private_node_handle_("~"),
loop_rate_(DEFAULT_RATE),
dsrv_(private_node_handle_),
diagnostic_()
diagnostic_(),
dsrv_(private_node_handle_)
{
// create thread server instance
this->thread_server_ = CThreadServer::instance();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment