X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftemplate5.cc;h=fcc788fd14f9160c93bbe621303b77555b682b1f;hb=150f6212ddfc29d66265cf47fd843f428646035f;hp=e2956a2c767b8f76258234f91c6f8968e7462650;hpb=c659cb200486c2f908703696a1b2873e78c8160a;p=lilypond.git diff --git a/lily/template5.cc b/lily/template5.cc index e2956a2c76..fcc788fd14 100644 --- a/lily/template5.cc +++ b/lily/template5.cc @@ -3,13 +3,14 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2004 Han-Wen Nienhuys + (c) 1997--2006 Han-Wen Nienhuys */ #include "moment.hh" #include "interval.tcc" +template<> Rational Interval_t::infinity () { @@ -18,12 +19,11 @@ Interval_t::infinity () return infty; } -String +template<> +string Interval_t::T_to_string (Rational a) { return a.to_string (); } - - template INTERVAL__INSTANTIATE (Rational);