diff --git a/panther_manager/src/safety_manager_node.cpp b/panther_manager/src/safety_manager_node.cpp index d204690c..68ea0c19 100644 --- a/panther_manager/src/safety_manager_node.cpp +++ b/panther_manager/src/safety_manager_node.cpp @@ -62,7 +62,7 @@ SafetyManagerNode::SafetyManagerNode( const auto shutdown_hosts_path = this->get_parameter("shutdown_hosts_path").as_string(); const std::map shutdown_initial_blackboard = { - {"SHUTDOWN_HOSTS_FILE", shutdown_hosts_path.c_str()}, + {"SHUTDOWN_HOSTS_FILE", shutdown_hosts_path}, }; shutdown_tree_manager_ = std::make_unique( "Shutdown", shutdown_initial_blackboard, 7777);