Skip to content

Commit 5e22fce

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1a28c31 commit 5e22fce

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

include/sot/pattern-generator/next-step.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class SOTNEXTSTEP_EXPORT NextStep : public Entity {
176176
virtual void starter(const int &timeCurr);
177177
virtual void stoper(const int &timeCurr);
178178

179-
virtual void introductionCallBack(const int &){};
179+
virtual void introductionCallBack(const int &) {};
180180

181181
int &triggerCall(int &dummy, int timeCurr);
182182

include/sot/pattern-generator/step-computer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class StepComputer {
5454
public: // Methods
5555
virtual void changeFirstStep(StepQueue &queue, int timeCurr) = 0;
5656
virtual void nextStep(StepQueue &queue, int timeCurr) = 0;
57-
virtual ~StepComputer(){};
57+
virtual ~StepComputer() {};
5858
};
5959

6060
} // namespace sot

src/pg.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,14 +1754,13 @@ void PatternGenerator::initCommands(void) {
17541754
addCommand(
17551755
"buildModel",
17561756
makeCommandVoid0(
1757-
*this, (void(PatternGenerator::*)(void)) & PatternGenerator::buildPGI,
1757+
*this, (void (PatternGenerator::*)(void))&PatternGenerator::buildPGI,
17581758
docCommandVoid0("From the files, parse and build the robot model and"
17591759
" the Walking Pattern Generator.")));
17601760
addCommand(
17611761
"initState",
17621762
makeCommandVoid0(
1763-
*this,
1764-
(void(PatternGenerator::*)(void)) & PatternGenerator::InitState,
1763+
*this, (void (PatternGenerator::*)(void))&PatternGenerator::InitState,
17651764
docCommandVoid0("From q and model, compute the initial geometry.")));
17661765

17671766
addCommand(
@@ -1828,7 +1827,7 @@ void PatternGenerator::initCommands(void) {
18281827
addCommand(
18291828
"debug",
18301829
makeCommandVoid0(
1831-
*this, (void(PatternGenerator::*)(void)) & PatternGenerator::debug,
1830+
*this, (void (PatternGenerator::*)(void))&PatternGenerator::debug,
18321831
docCommandVoid0("Launch a debug command.")));
18331832
}
18341833

0 commit comments

Comments
 (0)