From 0f0321a9cdf84737dcac49b5e7f678ddf002e890 Mon Sep 17 00:00:00 2001 From: Remi Siffert <112959878+remi-siffert-ocado@users.noreply.github.com> Date: Fri, 26 Jul 2024 07:44:12 -0400 Subject: [PATCH] Fix clang compilation error (#210) There was a c_str conversion missin in one of the log statements. --- examples/full_driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/full_driver.cpp b/examples/full_driver.cpp index c3920f2c..0fb6a0eb 100644 --- a/examples/full_driver.cpp +++ b/examples/full_driver.cpp @@ -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 {