X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftemplate5.cc;h=fcc788fd14f9160c93bbe621303b77555b682b1f;hb=31568c504806f35aac420a394c9eab07abd9faa7;hp=8a7183825242a0f934aadf091bce249e50cb0efe;hpb=7e72a1e50e94a7f9738d62599de79fe7745f600c;p=lilypond.git diff --git a/lily/template5.cc b/lily/template5.cc index 8a71838252..fcc788fd14 100644 --- a/lily/template5.cc +++ b/lily/template5.cc @@ -3,16 +3,14 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2004 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);