Skip to content

Commit cf44721

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

16 files changed

+27
-28
lines changed

include/sot/core/binary-op.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class BinaryOp : public Entity {
6565
op.addSpecificCommands(*this, commandMap);
6666
}
6767

68-
virtual ~BinaryOp(void){};
68+
virtual ~BinaryOp(void) {};
6969

7070
public: /* --- SIGNAL --- */
7171
SignalPtr<Tin1, sigtime_t> SIN1;

include/sot/core/derivator.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Derivator : public dynamicgraph::Entity {
6565
timestepSIN.setKeepReference(true);
6666
}
6767

68-
virtual ~Derivator(void){};
68+
virtual ~Derivator(void) {};
6969

7070
public: /* --- SIGNAL --- */
7171
dynamicgraph::SignalPtr<T, sigtime_t> SIN;

include/sot/core/feature-abstract.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class SOT_CORE_EXPORT FeatureAbstract : public Entity {
9090
/*! \brief Default constructor: the name of the class should be given. */
9191
FeatureAbstract(const std::string &name);
9292
/*! \brief Default destructor */
93-
virtual ~FeatureAbstract(void){};
93+
virtual ~FeatureAbstract(void) {};
9494

9595
/*! \name Methods returning the dimension of the feature.
9696
@{ */

include/sot/core/latch.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Latch : public Entity {
7575
docCommandVoid0("Turn off the latch")));
7676
}
7777

78-
virtual ~Latch(void){};
78+
virtual ~Latch(void) {};
7979
};
8080
} /* namespace sot */
8181
} /* namespace dynamicgraph */

include/sot/core/parameter-server.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class SOTParameterServer_EXPORT ParameterServer
6262
/* --- CONSTRUCTOR ---- */
6363
ParameterServer(const std::string &name);
6464

65-
~ParameterServer(){};
65+
~ParameterServer() {};
6666

6767
/// Initialize
6868
/// @param dt: control interval

include/sot/core/sequencer.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class SOTSEQUENCER_EXPORT Sequencer : public dynamicgraph::Entity {
6565
size_type eventType;
6666

6767
public:
68-
sotEventAbstract(const std::string &name) : name(name){};
68+
sotEventAbstract(const std::string &name) : name(name) {};
6969
virtual ~sotEventAbstract(void) {}
7070
virtual const std::string &getName() const { return name; }
7171
size_type getEventType() const { return eventType; }

include/sot/core/smooth-reach.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class SOTSMOOTHREACH_EXPORT SmoothReach : public dynamicgraph::Entity {
5858

5959
public: /* --- CONSTRUCTION --- */
6060
SmoothReach(const std::string &name);
61-
virtual ~SmoothReach(void){};
61+
virtual ~SmoothReach(void) {};
6262

6363
public: /* --- SIGNAL --- */
6464
dynamicgraph::SignalPtr<dynamicgraph::Vector, sigtime_t> startSIN;

include/sot/core/sot.hh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ class SOTSOT_CORE_EXPORT Sot : public Entity {
101101
public:
102102
/*! \brief Default constructor */
103103
Sot(const std::string &name);
104-
~Sot(void) { /* TODO!! */
105-
}
104+
~Sot(void) { /* TODO!! */ }
106105

107106
/*! \name Methods to handle the stack.
108107
@{

include/sot/core/task-abstract.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ class SOT_CORE_EXPORT TaskAbstract : public dynamicgraph::Entity {
5353
/* Use a derivative of this class to store computational memory. */
5454
class MemoryTaskAbstract {
5555
public:
56-
MemoryTaskAbstract(void){};
57-
virtual ~MemoryTaskAbstract(void){};
56+
MemoryTaskAbstract(void) {};
57+
virtual ~MemoryTaskAbstract(void) {};
5858

5959
public:
6060
virtual void display(std::ostream &os) const = 0;

include/sot/core/unary-op.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class UnaryOp : public Entity {
5252
op.addSpecificCommands(*this, commandMap);
5353
}
5454

55-
virtual ~UnaryOp(void){};
55+
virtual ~UnaryOp(void) {};
5656

5757
public: /* --- SIGNAL --- */
5858
SignalPtr<Tin, sigtime_t> SIN;

0 commit comments

Comments
 (0)