Skip to content

Commit

Permalink
chore: Remove default destructor for HashingAlgorithm class
Browse files Browse the repository at this point in the history
  • Loading branch information
CouthuresJeremy committed Aug 28, 2024
1 parent 9e4d71b commit 87f4cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,7 @@ class HashingAlgorithm {
public:
explicit HashingAlgorithm(const HashingAlgorithmConfig& cfg);

/**
* @brief Destroy the object.
*/
~HashingAlgorithm() = default;

HashingAlgorithm() = default;
HashingAlgorithm(const HashingAlgorithm<external_spacepoint_t,
SpacePointContainer>&) = delete;
HashingAlgorithm<external_spacepoint_t, SpacePointContainer>& operator=(
const HashingAlgorithm<external_spacepoint_t, SpacePointContainer>&) =
default;

template <typename collection_t>
void execute(SpacePointContainer& spacePoints, AnnoyModel* annoyModel,
Expand All @@ -42,4 +32,5 @@ class HashingAlgorithm {
};

} // namespace Acts

#include "Acts/Plugins/Hashing/HashingAlgorithm.ipp"
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ class HashingTrainingAlgorithm {
};

} // namespace Acts

#include "Acts/Plugins/Hashing/HashingTraining.ipp"

0 comments on commit 87f4cd4

Please sign in to comment.