X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Frational.hh;h=115d5f85c7555fc34ff59d00f5ac69dab1379d92;hb=1cf3d59c1559fb9774c4c1c8cae155cfe54a927c;hp=3c15f76c4f5749c4d9f4e23cf770daac0d9d573f;hpb=1e95a0be01466d1c98644f7705c8e07e41cc645c;p=lilypond.git diff --git a/flower/include/rational.hh b/flower/include/rational.hh index 3c15f76c4f..115d5f85c7 100644 --- a/flower/include/rational.hh +++ b/flower/include/rational.hh @@ -3,7 +3,7 @@ source file of the Flower Library - (c) 1997--1998 Han-Wen Nienhuys + (c) 1997--1998 Han-Wen Nienhuys */ @@ -25,6 +25,7 @@ class Rational { unsigned int num_, den_; void normalise (); void copy (Rational const &); + public: void set_infinite (int sign); bool infty_b () const; @@ -36,7 +37,6 @@ public: operator bool () const; operator int () const; operator double () const; - operator String () const; Rational operator - () const; Rational (); Rational (int, int =1);