Skip to content

Commit

Permalink
Fixed function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Shobuj-Paul committed Sep 16, 2023
1 parent 849552e commit e1df571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class OMPLInterface
* @param response the service response
*/
void storePlannerData(const std::shared_ptr<std_srvs::srv::Trigger::Request>& request,
std::shared_ptr<std_srvs::srv::Trigger::Response> response);
const std::shared_ptr<std_srvs::srv::Trigger::Response>& response);

/** @brief Specify configurations for the planners.
@param pconfig Configurations for the different planners */
Expand Down
4 changes: 2 additions & 2 deletions moveit_planners/ompl/ompl_interface/src/ompl_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ OMPLInterface::OMPLInterface(const moveit::core::RobotModelConstPtr& robot_model

OMPLInterface::~OMPLInterface() = default;

void OMPLInterface::storePlannerData(const std::shared_ptr<std_srvs::srv::Trigger::Request> /* unused */,
std::shared_ptr<std_srvs::srv::Trigger::Response> response)
void OMPLInterface::storePlannerData(const std::shared_ptr<std_srvs::srv::Trigger::Request>& /* unused */,
const std::shared_ptr<std_srvs::srv::Trigger::Response>& response)
{
bool success = context_manager_.storePlannerData();
response->success = success;
Expand Down

0 comments on commit e1df571

Please sign in to comment.