Commit f8043b04 authored by Langella Olivier's avatar Langella Olivier
Browse files

fix implicitly declared operator= problem

parent 168ab99f
......@@ -30,6 +30,16 @@ AutomaticFilterParameters::AutomaticFilterParameters()
AutomaticFilterParameters::AutomaticFilterParameters(
const AutomaticFilterParameters &other)
{
this->operator=(other);
}
AutomaticFilterParameters::~AutomaticFilterParameters()
{
}
AutomaticFilterParameters &
AutomaticFilterParameters::operator=(const AutomaticFilterParameters &other)
{
_filter_minimum_peptide_evalue = other._filter_minimum_peptide_evalue;
_filter_minimum_protein_evalue = other._filter_minimum_protein_evalue;
......@@ -39,12 +49,11 @@ AutomaticFilterParameters::AutomaticFilterParameters(
m_filter_peptide_observed_in_less_samples_than =
other.m_filter_peptide_observed_in_less_samples_than;
m_filterFDR = other.m_filterFDR;
}
AutomaticFilterParameters::~AutomaticFilterParameters()
{
return *this;
}
void
AutomaticFilterParameters::setFilterPeptideFDR(double fdr)
{
......
......@@ -32,6 +32,8 @@ class AutomaticFilterParameters
AutomaticFilterParameters(const AutomaticFilterParameters &other);
~AutomaticFilterParameters();
AutomaticFilterParameters &operator=(const AutomaticFilterParameters &);
void setFilterPeptideEvalue(pappso::pappso_double evalue);
void setFilterPeptideFDR(double fdr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment