From: Han-Wen Nienhuys Date: Fri, 2 May 2008 02:20:33 +0000 (-0300) Subject: Add Drul_array<>::set() method. X-Git-Tag: release/2.11.46-1~28^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=fc0b10da387d5a3f160933f2264f45184696a6ea;p=lilypond.git Add Drul_array<>::set() method. --- diff --git a/flower/include/drul-array.hh b/flower/include/drul-array.hh index e687acf2d7..47c4847c40 100644 --- a/flower/include/drul-array.hh +++ b/flower/include/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;