X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdot-formatting-problem.cc;h=221ab584b45e5b1b59f706933c05fb56326c15ad;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=1d83f64b31f4b9a98f1e653fa8d4d6252cc52666;hpb=1c846b2c2348b4e0ca4a3c2e8fb267047ba2d203;p=lilypond.git diff --git a/lily/dot-formatting-problem.cc b/lily/dot-formatting-problem.cc index 1d83f64b31..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--2011 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]);