diff --git a/src/dynamic-command.h b/src/dynamic-command.h index e676c3b9f99b368b3f0e41983b57b02088176bc4..102c37c6f48f5b837afcd96cca1d80c510c1ee92 100644 --- a/src/dynamic-command.h +++ b/src/dynamic-command.h @@ -40,8 +40,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command SetFiles(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING) - (Value::STRING)(Value::STRING)(Value::STRING), docstring) + Command(entity, boost::assign::list_of(Value::STRING) + (Value::STRING)(Value::STRING)(Value::STRING), docstring) { } virtual Value doExecute() @@ -70,7 +70,7 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command Parse(Dynamic& entity, const std::string& docstring) : - Command(entity, std::vector<Value::Type>(), docstring) + Command(entity, std::vector<Value::Type>(), docstring) { } virtual Value doExecute() @@ -92,8 +92,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command CreateOpPoint(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), - docstring) + Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), + docstring) { } virtual Value doExecute() @@ -139,8 +139,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command SetProperty(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), - docstring) + Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), + docstring) { } virtual Value doExecute() @@ -164,8 +164,8 @@ namespace sot { /// \param entity instance of Entity owning this command /// \param docstring documentation of the command GetProperty(Dynamic& entity, const std::string& docstring) : - Command(entity, boost::assign::list_of(Value::STRING), - docstring) + Command(entity, boost::assign::list_of(Value::STRING), + docstring) { } virtual Value doExecute() diff --git a/src/dynamic.cpp b/src/dynamic.cpp index d1e73eef150c79c864019f4fe55e7584b3796328..932ea6490f537f0a1b929f57abf58b8863c2942f 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -152,8 +152,7 @@ Dynamic( const std::string & name, bool build ) " - a string: name the joint, among (gaze, left-ankle, right ankle\n" " , left-wrist, right-wrist, waist, chest).\n" "\n"; - addCommand("createOpPoint", - new command::CreateOpPoint(*this, docstring)); + addCommand("createOpPoint", new command::CreateOpPoint(*this, docstring)); // SetProperty docstring = " \n"