X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=flower%2Finclude%2Fdrul-array.hh;h=6ef5fe1ffe25d43cacb40a926eeb8750bd69b92b;hb=2f771b342689e45c55e083da1f835a51a02493b3;hp=4db1cb133b820206937be18d500c5b00a8656ec6;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/flower/include/drul-array.hh b/flower/include/drul-array.hh index 4db1cb133b..6ef5fe1ffe 100644 --- a/flower/include/drul-array.hh +++ b/flower/include/drul-array.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ struct Drul_array { return at (d); } - T const& operator [] (Direction d) const + T const &operator [] (Direction d) const { return at (d); } @@ -74,7 +74,7 @@ inline Real linear_combination (Drul_array const &d, Real x) { return ((1.0 - x) * Real (d.at (LEFT)) - + (x + 1.0) * Real (d.at (RIGHT))) * 0.5; + + (x + 1.0) * Real (d.at (RIGHT))) * 0.5; } #endif /* DRUL_ARRAY_HH */