Skip to content

Commit

Permalink
Fix clang compilation error (UniversalRobots#210)
Browse files Browse the repository at this point in the history
There was a c_str conversion missin in one of the log statements.
  • Loading branch information
remi-siffert-ocado authored Jul 26, 2024
1 parent 613b2f9 commit 0f0321a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/full_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ int main(int argc, char* argv[])
URCL_LOG_ERROR("Could not send joint command. Is the robot in remote control?");
return 1;
}
URCL_LOG_DEBUG("data_pkg:\n%s", data_pkg->toString());
URCL_LOG_DEBUG("data_pkg:\n%s", data_pkg->toString().c_str());
}
else
{
Expand Down

0 comments on commit 0f0321a

Please sign in to comment.