X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftemplate5.cc;h=af9b565719ec72908485fa1442cac76210b7d6b9;hb=8438b824fb221159742957c2eeab761effe73be4;hp=98b3dc89fd9d9f6a8babc8ace553044a49f29591;hpb=69b9cead5afe7164b9053d26eba582fec3825ef8;p=lilypond.git diff --git a/lily/template5.cc b/lily/template5.cc index 98b3dc89fd..af9b565719 100644 --- a/lily/template5.cc +++ b/lily/template5.cc @@ -3,23 +3,18 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1998 Han-Wen Nienhuys + (c) 1997--2002 Han-Wen Nienhuys */ #include -#include "proto.hh" #include "string.hh" #include "moment.hh" #include "real.hh" - #include "interval.tcc" - -template INTERVAL__INSTANTIATE(Rational); - #include "compare.hh" Rational -Interval_t::infinity() +Interval_t::infinity () { Rational infty; infty.set_infinite (1); @@ -27,8 +22,11 @@ Interval_t::infinity() } String -Interval_t::T_to_str (Rational a) +Interval_t::T_to_string (Rational a) { - return a.str (); + return a.string (); } + + +template INTERVAL__INSTANTIATE (Rational);