mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix typo in GcnRational's + operator
This commit is contained in:
parent
7c041eb283
commit
c2f21f0162
@ -246,7 +246,7 @@ inline GncRational operator+(GncRational a, GncInt128 b)
|
|||||||
}
|
}
|
||||||
inline GncRational operator+(GncInt128 a, GncRational b)
|
inline GncRational operator+(GncInt128 a, GncRational b)
|
||||||
{
|
{
|
||||||
return GncRational(a, 1) + a;
|
return GncRational(a, 1) + b;
|
||||||
}
|
}
|
||||||
GncRational operator-(GncRational a, GncRational b);
|
GncRational operator-(GncRational a, GncRational b);
|
||||||
inline GncRational operator-(GncRational a, GncInt128 b)
|
inline GncRational operator-(GncRational a, GncInt128 b)
|
||||||
|
Loading…
Reference in New Issue
Block a user