Skip to content

Commit

Permalink
Per #3006, remove desctrutor as recommended by SonarQube
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Jan 22, 2025
1 parent c91d08f commit b23f3ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
14 changes: 0 additions & 14 deletions src/tools/core/pair_stat/pair_stat_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ PairStatConfInfo::PairStatConfInfo() {

////////////////////////////////////////////////////////////////////////

PairStatConfInfo::~PairStatConfInfo() {

clear();
}

////////////////////////////////////////////////////////////////////////

void PairStatConfInfo::init_from_scratch() {

clear();
Expand Down Expand Up @@ -565,13 +558,6 @@ PairStatVxOpt::PairStatVxOpt() {

////////////////////////////////////////////////////////////////////////

PairStatVxOpt::~PairStatVxOpt() {

clear();
}

////////////////////////////////////////////////////////////////////////

void PairStatVxOpt::init_from_scratch() {

clear();
Expand Down
4 changes: 1 addition & 3 deletions src/tools/core/pair_stat/pair_stat_conf_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ class PairStatVxOpt {
public:

PairStatVxOpt();
~PairStatVxOpt();

//////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -170,7 +169,7 @@ class PairStatVxOpt {
bool rank_corr_flag; // Flag for computing rank correlations

// Output file options
STATOutputType output_flag[n_txt]; // Flag for each output line type
STATOutputType output_flag[n_txt]; // Flag for each output line type

//////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -226,7 +225,6 @@ class PairStatConfInfo {
public:

PairStatConfInfo();
~PairStatConfInfo();

//////////////////////////////////////////////////////////////////

Expand Down

0 comments on commit b23f3ee

Please sign in to comment.