Skip to content

Commit

Permalink
Revert "Remove static_cast"
Browse files Browse the repository at this point in the history
This reverts commit 08ef135.
  • Loading branch information
christophfroehlich committed Dec 4, 2024
1 parent 08ef135 commit 93b9366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_interface/src/controller_interface_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const rclcpp_lifecycle::State & ControllerInterfaceBase::configure()
if (is_async_)
{
const int thread_priority =
get_node()->get_parameter("thread_priority").as_int();
static_cast<int>(get_node()->get_parameter("thread_priority").as_int());
RCLCPP_INFO(
get_node()->get_logger(), "Starting async handler with scheduler priority: %d",
thread_priority);
Expand Down

0 comments on commit 93b9366

Please sign in to comment.