X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fdrul-array.hh;h=a184a897209ba20e78bae1abd52ec3aecd5b447e;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=e687acf2d7a0d7026a430589ae2f795922542f78;hpb=a276a19dc6bd57832db3107f2f2cbb04cb4677b6;p=lilypond.git diff --git a/flower/include/drul-array.hh b/flower/include/drul-array.hh index e687acf2d7..a184a89720 100644 --- a/flower/include/drul-array.hh +++ b/flower/include/drul-array.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2007 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #ifndef DRUL_ARRAY_HH @@ -40,7 +40,11 @@ struct Drul_array Drul_array () { } - Drul_array (T t1, T t2) + Drul_array (T const &t1, T const &t2) + { + set (t1, t2); + } + void set (T const &t1, T const &t2) { array_[0] = t1; array_[1] = t2;