Skip to content

Commit

Permalink
run pre-commit --all
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoignonec committed Dec 24, 2024
1 parent a2dfe9a commit ed05c4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ class LedRgbDevice : public SemanticComponentCommandInterface<std_msgs::msg::Col
*/
explicit LedRgbDevice(const std::string & name)
: SemanticComponentCommandInterface(
name, {{name_ + "/" + "r"},
{name_ + "/" + "g"},
{name_ + "/" + "b"}})
name, {{name_ + "/" + "r"}, {name_ + "/" + "g"}, {name_ + "/" + "b"}})
{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class SemanticComponentCommandInterface
command_interfaces_.reserve(interface_names.size());
}

explicit SemanticComponentCommandInterface(const std::string & name, size_t size = 0) : name_(name)
explicit SemanticComponentCommandInterface(const std::string & name, size_t size = 0)
: name_(name)
{
interface_names_.reserve(size);
command_interfaces_.reserve(size);
Expand Down

0 comments on commit ed05c4e

Please sign in to comment.