X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdot-formatting-problem.cc;h=221ab584b45e5b1b59f706933c05fb56326c15ad;hb=255d19c2edfe2ec4dc648b582a96e6fcb0039197;hp=07cef5fc3ae6ea355fc897ae0ba2dd03cbb72ccf;hpb=e18531db1f79fb685fbd16d6a2a67bf4b6c09915;p=lilypond.git diff --git a/lily/dot-formatting-problem.cc b/lily/dot-formatting-problem.cc index 07cef5fc3a..221ab584b4 100644 --- a/lily/dot-formatting-problem.cc +++ b/lily/dot-formatting-problem.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2007--2010 Han-Wen Nienhuys + Copyright (C) 2007--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 @@ -21,7 +21,7 @@ #include "dot-configuration.hh" #include "skyline.hh" -Dot_formatting_problem::~Dot_formatting_problem() +Dot_formatting_problem::~Dot_formatting_problem () { delete best_; } @@ -44,8 +44,8 @@ Dot_formatting_problem::best () const } Dot_formatting_problem::Dot_formatting_problem (vector const &boxes, - Interval base_x) - : head_skyline_ (boxes, 0.0, Y_AXIS, RIGHT) + Interval base_x) + : head_skyline_ (boxes, Y_AXIS, RIGHT) { best_ = 0; head_skyline_.set_minimum_height (base_x[RIGHT]);