Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 24, 2024
1 parent 477a04a commit d222958
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions include/hpp/fcl/broadphase/default_broadphase_callbacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ struct HPP_FCL_DLLAPI CollisionCallBackDefault : CollisionCallBackBase {

CollisionData data;

virtual ~CollisionCallBackDefault(){};
virtual ~CollisionCallBackDefault() {};
};

/// @brief Default distance callback to check collision between collision
Expand All @@ -217,7 +217,7 @@ struct HPP_FCL_DLLAPI DistanceCallBackDefault : DistanceCallBackBase {

DistanceData data;

virtual ~DistanceCallBackDefault(){};
virtual ~DistanceCallBackDefault() {};
};

/// @brief Collision callback to collect collision pairs potentially in contacts
Expand All @@ -244,7 +244,7 @@ struct HPP_FCL_DLLAPI CollisionCallBackCollect : CollisionCallBackBase {
/// @brief Check whether a collision pair exists
bool exist(CollisionObject* o1, CollisionObject* o2) const;

virtual ~CollisionCallBackCollect(){};
virtual ~CollisionCallBackCollect() {};

protected:
std::vector<CollisionPair> collision_pairs;
Expand Down
2 changes: 1 addition & 1 deletion include/hpp/fcl/broadphase/detail/sparse_hash_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class unordered_map_hash_table : public std::unordered_map<U, V> {
typedef std::unordered_map<U, V> Base;

public:
unordered_map_hash_table() : Base(){};
unordered_map_hash_table() : Base() {};
};

/// @brief A hash table implemented using unordered_map
Expand Down
2 changes: 1 addition & 1 deletion include/hpp/fcl/collision.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class HPP_FCL_DLLAPI ComputeCollision {
return !(*this == other);
}

virtual ~ComputeCollision(){};
virtual ~ComputeCollision() {};

protected:
// These pointers are made mutable to let the derived classes to update
Expand Down
2 changes: 1 addition & 1 deletion include/hpp/fcl/distance.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class HPP_FCL_DLLAPI ComputeDistance {
return !(*this == other);
}

virtual ~ComputeDistance(){};
virtual ~ComputeDistance() {};

protected:
// These pointers are made mutable to let the derived classes to update
Expand Down
2 changes: 1 addition & 1 deletion include/hpp/fcl/narrowphase/gjk.h
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ struct HPP_FCL_DLLAPI EPA {
// (with 0 <= i <= 2).
size_t pass;

SimplexFace() : n(Vec3f::Zero()), ignore(false){};
SimplexFace() : n(Vec3f::Zero()), ignore(false) {};
};

/// @brief The simplex list of EPA is a linked list of faces.
Expand Down
4 changes: 2 additions & 2 deletions include/hpp/fcl/shape/geometric_shapes.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class HPP_FCL_DLLAPI ShapeBase : public CollisionGeometry {

ShapeBase& operator=(const ShapeBase& other) = default;

virtual ~ShapeBase(){};
virtual ~ShapeBase() {};

/// @brief Get object type: a geometric shape
OBJECT_TYPE getObjectType() const { return OT_GEOM; }
Expand Down Expand Up @@ -108,7 +108,7 @@ class HPP_FCL_DLLAPI ShapeBase : public CollisionGeometry {
/// @brief Triangle stores the points instead of only indices of points
class HPP_FCL_DLLAPI TriangleP : public ShapeBase {
public:
TriangleP(){};
TriangleP() {};

TriangleP(const Vec3f& a_, const Vec3f& b_, const Vec3f& c_)
: ShapeBase(), a(a_), b(b_), c(c_) {}
Expand Down

0 comments on commit d222958

Please sign in to comment.