X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftemplate5.cc;h=29f0f1666e962ccfd3c1b4983db486bc9bc91995;hb=f61bd6a69dec63300c68fc9455bd54d6a6067696;hp=19e75a3874916ff1874ebbd24f4cb620f1b8d181;hpb=7aabfb20c46e0a1de41698ddc6859ccd3a6dea85;p=lilypond.git diff --git a/lily/template5.cc b/lily/template5.cc index 19e75a3874..29f0f1666e 100644 --- a/lily/template5.cc +++ b/lily/template5.cc @@ -3,16 +3,14 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2003 Han-Wen Nienhuys + (c) 1997--2004 Han-Wen Nienhuys */ -#include -#include "string.hh" #include "moment.hh" -#include "real.hh" + #include "interval.tcc" -#include "compare.hh" +template<> Rational Interval_t::infinity () { @@ -21,10 +19,11 @@ Interval_t::infinity () return infty; } +template<> String Interval_t::T_to_string (Rational a) { - return a.string (); + return a.to_string (); }