X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fdrul-array.hh;h=fbb45dfcec0395b0b114df1b707f487764fb3ae3;hb=c39d188d28fdc84cef8cbaea7b8d6e2fb718c30f;hp=4d38d8ce79247d7b0c61c1fc3c612971201d248c;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/flower/include/drul-array.hh b/flower/include/drul-array.hh index 4d38d8ce79..fbb45dfcec 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--2009 Han-Wen Nienhuys + Copyright (C) 1997--2014 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 */