Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ CoordinatedPartitionState<T>::CoordinatedPartitionState(const Globals &G)
}

template <typename T>
CoordinatedPartitionState<T>::~CoordinatedPartitionState() {}
CoordinatedPartitionState<T>::~CoordinatedPartitionState() = default;

template <typename T>
std::shared_ptr<Record<T>> CoordinatedPartitionState<T>::getRecord(
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/EBV.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ EBV<T>::EBV(const Globals &G) : GLOBALS(G) {
// this->GLOBALS = G;
}
template <typename T>
EBV<T>::~EBV() {}
EBV<T>::~EBV() = default;
template <typename T>
void EBV<T>::performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> state) {
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/EdgeBalancedVertexCut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ EdgeBalancedVertexCut<T>::EdgeBalancedVertexCut(const Globals &G) : GLOBALS(G) {
// this->GLOBALS = G;
}
template <typename T>
EdgeBalancedVertexCut<T>::~EdgeBalancedVertexCut() {}
EdgeBalancedVertexCut<T>::~EdgeBalancedVertexCut() = default;
template <typename T>
void EdgeBalancedVertexCut<T>::performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> state) {
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/GreedyVertexCut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ template <typename T>
GreedyVertexCut<T>::GreedyVertexCut(const Globals &G) : GLOBALS(G) {}

template <typename T>
GreedyVertexCut<T>::~GreedyVertexCut() {}
GreedyVertexCut<T>::~GreedyVertexCut() = default;

template <typename T>
void GreedyVertexCut<T>::performStep(shared<const Edge<T>> e,
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/HDRF.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ HDRF<T>::HDRF(const Globals &G) : GLOBALS(G) {
// this->GLOBALS = G;
}
template <typename T>
HDRF<T>::~HDRF() {}
HDRF<T>::~HDRF() = default;
template <typename T>
void HDRF<T>::performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> state) {
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/PartitionerThread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ PartitionerThread<T>::PartitionerThread(
this->algorithm = algorithm;
}
template <typename T>
PartitionerThread<T>::~PartitionerThread() {}
PartitionerThread<T>::~PartitionerThread() = default;
template <typename T>
void PartitionerThread<T>::run() {
for (const auto &edge_it : list) {
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/Utility/Globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ inline Globals::Globals(const int numberOfPartiton,
}
}

inline Globals::~Globals() {}
inline Globals::~Globals() = default;

inline const std::string Globals::print() const {
std::string prt_str;
Expand Down
2 changes: 1 addition & 1 deletion include/CXXGraph/Partitioning/WeightBalancedLibra.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ WeightBalancedLibra<T>::WeightBalancedLibra(
weight_sum_bound(_weight_sum_bound),
vertices_degrees(_vertices_degrees) {}
template <typename T>
WeightBalancedLibra<T>::~WeightBalancedLibra() {}
WeightBalancedLibra<T>::~WeightBalancedLibra() = default;
template <typename T>
void WeightBalancedLibra<T>::performStep(shared<const Edge<T>> e,
shared<PartitionState<T>> state) {
Expand Down
Loading