Skip to content

Commit

Permalink
redundant virtual according to clang_tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Oct 2, 2024
1 parent 9f017c9 commit ea0b2fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Core/include/Acts/Clusterization/Clusterization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ struct DefaultConnect {

template <typename Cell>
struct DefaultConnect<Cell, 1> : public Connect1D<Cell> {
virtual ~DefaultConnect() = default;
~DefaultConnect() override = default;
};

template <typename Cell>
struct DefaultConnect<Cell, 2> : public Connect2D<Cell> {
explicit DefaultConnect(bool commonCorner) : Connect2D<Cell>(commonCorner) {}
DefaultConnect() = default;
virtual ~DefaultConnect() = default;
~DefaultConnect() override = default;
};

/// @brief labelClusters
Expand Down
5 changes: 2 additions & 3 deletions Core/include/Acts/Clusterization/TimedClusterization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ struct TimedConnect : public Acts::Ccl::DefaultConnect<Cell, N> {
TimedConnect(Acts::ActsScalar time);
TimedConnect(Acts::ActsScalar time, bool conn)
requires(N == 2);
virtual ~TimedConnect() = default;
~TimedConnect() override = default;

virtual ConnectResult operator()(const Cell& ref,
const Cell& iter) const override;
ConnectResult operator()(const Cell& ref, const Cell& iter) const override;
};

} // namespace Acts::Ccl
Expand Down

0 comments on commit ea0b2fc

Please sign in to comment.