From f910fdb373c87907d358095dd99769b7d7c6e12b Mon Sep 17 00:00:00 2001 From: Shokoofeh Pourmehr Date: Fri, 28 Dec 2018 13:27:53 -0800 Subject: [PATCH] Fix typo in stage and scenario header files --- modules/planning/scenarios/scenario.h | 6 ++---- modules/planning/scenarios/stage.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/planning/scenarios/scenario.h b/modules/planning/scenarios/scenario.h index 83092e420d..daa6d4bb91 100644 --- a/modules/planning/scenarios/scenario.h +++ b/modules/planning/scenarios/scenario.h @@ -60,7 +60,7 @@ class Scenario { } /** - * Each scenario should define it's own stages object's creation + * Each scenario should define its own stages object's creation * scenario will call stage's Stage::Process function following a configured * order, The return value of Stage::Process function determines the * transition from one stage to another. @@ -87,9 +87,7 @@ class Scenario { virtual void Init(); const std::string& Name() const; - const std::string& GetMsg() const { - return msg_; - } + const std::string& GetMsg() const { return msg_; } protected: ScenarioStatus scenario_status_ = STATUS_UNKNOWN; diff --git a/modules/planning/scenarios/stage.h b/modules/planning/scenarios/stage.h index 5db479d915..6b64877299 100644 --- a/modules/planning/scenarios/stage.h +++ b/modules/planning/scenarios/stage.h @@ -52,7 +52,7 @@ class Stage { ScenarioConfig::StageType stage_type() const { return config_.stage_type(); } /** - * @brief Each stage does its bussines logic inside Process function. + * @brief Each stage does its business logic inside Process function. * If the stage want to transite to a different stage after finish, * it should set the type of 'next_stage_'. */ -- GitLab