Skip to content

Commit

Permalink
Remove static_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich authored Dec 4, 2024
1 parent 7f71a98 commit 08ef135
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 =
static_cast<int>(get_node()->get_parameter("thread_priority").as_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 08ef135

Please sign in to comment.