Skip to content

Commit

Permalink
Return more specific Clean Description
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
  • Loading branch information
mxgrey committed Jan 9, 2022
1 parent 9fbd9d4 commit 113b671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rmf_task/include/rmf_task/requests/Clean.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Clean
public:

/// Generate the description for this request
static Task::ConstDescriptionPtr make(
static std::shared_ptr<Description> make(
std::size_t start_waypoint,
std::size_t end_waypoint,
const rmf_traffic::Trajectory& cleaning_path);
Expand Down
2 changes: 1 addition & 1 deletion rmf_task/src/rmf_task/requests/Clean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class Clean::Description::Implementation
};

//==============================================================================
Task::ConstDescriptionPtr Clean::Description::make(
std::shared_ptr<Clean::Description> Clean::Description::make(
std::size_t start_waypoint,
std::size_t end_waypoint,
const rmf_traffic::Trajectory& cleaning_path)
Expand Down

0 comments on commit 113b671

Please sign in to comment.