X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftemplate5.cc;h=fcc788fd14f9160c93bbe621303b77555b682b1f;hb=150f6212ddfc29d66265cf47fd843f428646035f;hp=22928dedc2b1f5b5cd8cbf04c2fed0bef265f31f;hpb=19fbc4154436823f3365e0bc42c4420f2233a860;p=lilypond.git diff --git a/lily/template5.cc b/lily/template5.cc index 22928dedc2..fcc788fd14 100644 --- a/lily/template5.cc +++ b/lily/template5.cc @@ -3,31 +3,27 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1999 Han-Wen Nienhuys + (c) 1997--2006 Han-Wen Nienhuys */ -#include -#include "proto.hh" -#include "string.hh" #include "moment.hh" -#include "real.hh" + #include "interval.tcc" -#include "compare.hh" +template<> Rational -Interval_t::infinity() +Interval_t::infinity () { Rational infty; infty.set_infinite (1); return infty; } -String -Interval_t::T_to_str (Rational a) +template<> +string +Interval_t::T_to_string (Rational a) { - return a.str (); + return a.to_string (); } - - -template INTERVAL__INSTANTIATE(Rational); +template INTERVAL__INSTANTIATE (Rational);