rename parameter
This commit is contained in:
parent
0e6e7268ee
commit
e2d2c4489d
1 changed files with 3 additions and 3 deletions
|
@ -94,9 +94,9 @@ namespace FractionNS {
|
|||
bool Fraction::operator!=(const double n) const {
|
||||
return (double(m_numerator) / double(m_denominator)) != n;
|
||||
}
|
||||
bool Fraction::operator!=(const Fraction& n) const {
|
||||
return (this->m_numerator != n.getNumerator())
|
||||
|| (this->m_denominator != n.getDenominator());
|
||||
bool Fraction::operator!=(const Fraction& other) const {
|
||||
return (this->m_numerator != other.getNumerator())
|
||||
|| (this->m_denominator != other.getDenominator());
|
||||
}
|
||||
|
||||
Fraction& Fraction::operator+(const int n) const {
|
||||
|
|
Reference in a new issue