diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2004-11-20 00:26:27 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2004-11-20 00:26:27 +0000 |
commit | 7e457604ac8bd896fd2ba74f14cd8d75b65bab36 (patch) | |
tree | 21025b1815ba45ffaa97d44b42fe3fde5c29f50d /flower/interval.cc | |
parent | 91455a1aa64fcf64b7c3996f2247f5125e22bd73 (diff) |
* flower/interval.cc (T_to_string): gcc4 fixes.
* scm/define-markup-commands.scm (fill-line): use
stack-stencils. This fixes problems with putting already centered
stencils in a line.
* lily/bar-line.cc (get_staff_bar_size): add line thickness.
Diffstat (limited to 'flower/interval.cc')
-rw-r--r-- | flower/interval.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/flower/interval.cc b/flower/interval.cc index e30098e30b..56e0ca74f9 100644 --- a/flower/interval.cc +++ b/flower/interval.cc @@ -10,25 +10,29 @@ #include "interval.tcc" +template<> Real Interval_t<Real>::infinity () { return HUGE_VAL; } +template<> String Interval_t<Real>::T_to_string (Real r) { return ::to_string (r); } - +template<> int Interval_t<int>::infinity () { return INT_MAX; } + +template<> String Interval_t<int>::T_to_string (int i) { |