Skip to content

Commit

Permalink
Add explicit keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Feb 17, 2024
1 parent d55c1cf commit e793af9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct JointValue

struct Joint
{
Joint(const std::string & name) : joint_name(name)
explicit Joint(const std::string & name) : joint_name(name)
{
state = JointValue();
command = JointValue();
Expand Down

0 comments on commit e793af9

Please sign in to comment.