X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftemplate5.cc;h=fcc788fd14f9160c93bbe621303b77555b682b1f;hb=e03b2923c10e1c33238a4f2ecf78714bf829e758;hp=33d9b32f18be2aa2269f45af664408becb917929;hpb=1036b837e5c947284f1b64029b912793edab3dad;p=lilypond.git diff --git a/lily/template5.cc b/lily/template5.cc index 33d9b32f18..fcc788fd14 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--2006 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,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);