X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fskyline-pair.cc;h=2a3b26ff9e81a0512268b639c2a236d547fdcf70;hb=93d4e8aa80360c95696e065b9fd4744f269f4ea8;hp=92b25577a28c8e77e76a4b38b06652deec3381fb;hpb=a6bd229f7fe1dc4a03478e14ccc0c0c66b225061;p=lilypond.git diff --git a/lily/skyline-pair.cc b/lily/skyline-pair.cc index 92b25577a2..2a3b26ff9e 100644 --- a/lily/skyline-pair.cc +++ b/lily/skyline-pair.cc @@ -1,8 +1,8 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2008--2010 Han-Wen Nienhuys - + Copyright (C) 2008--2011 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 @@ -79,21 +79,20 @@ Skyline_pair::print_points () const skylines_[DOWN].print (); } - bool Skyline_pair::is_empty () const { return skylines_[UP].is_empty () - && skylines_[DOWN].is_empty (); + && skylines_[DOWN].is_empty (); } -Skyline& +Skyline & Skyline_pair::operator [] (Direction d) { return skylines_[d]; } -Skyline const& +Skyline const & Skyline_pair::operator [] (Direction d) const { return skylines_[d];