]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/template5.cc
patch::: 1.3.96.jcn7
[lilypond.git] / lily / template5.cc
index 4cfa4f0b70b798afd673b2c75a5d0e93b9a3deb0..8a4e1c8b40f65cc72139ab944fff375bcbe0d4a9 100644 (file)
@@ -3,19 +3,15 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include <limits.h>
-#include "proto.hh"
 #include "string.hh"
 #include "moment.hh"
 #include "real.hh"
-
 #include "interval.tcc"
-
-template INTERVAL__INSTANTIATE(Rational);
-template INTERVAL__INSTANTIATE(int);
+#include "compare.hh"
 
 Rational
 Interval_t<Rational>::infinity()
@@ -31,14 +27,6 @@ Interval_t<Rational>::T_to_str (Rational a)
   return a.str ();
 }
 
-int
-Interval_t<int>::infinity()
-{
-  return INT_MAX;
-}
 
-String
-Interval_t<int>::T_to_str (int i)
-{
-  return String (i);
-}
+
+template INTERVAL__INSTANTIATE(Rational);