X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdot-formatting-problem.cc;h=221ab584b45e5b1b59f706933c05fb56326c15ad;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=cabb910ece3e753e4e2067397debcd701a98ddce;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/lily/dot-formatting-problem.cc b/lily/dot-formatting-problem.cc index cabb910ece..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--2009 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]);