]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dot-formatting-problem.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / dot-formatting-problem.cc
index be375b540d96db2eee758c7b77b0b72560add285..81f0022acd9ee9277919cc6c722174a9bc5c4c10 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2007--2012 Han-Wen Nienhuys <hanwen@lilypond.org>
+  Copyright (C) 2007--2015 Han-Wen Nienhuys <hanwen@lilypond.org>
 
   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,6 +21,8 @@
 #include "dot-configuration.hh"
 #include "skyline.hh"
 
+using std::vector;
+
 Dot_formatting_problem::~Dot_formatting_problem ()
 {
   delete best_;
@@ -45,7 +47,7 @@ Dot_formatting_problem::best () const
 
 Dot_formatting_problem::Dot_formatting_problem (vector<Box> const &boxes,
                                                 Interval base_x)
-  : head_skyline_ (boxes, 0.2, Y_AXIS, RIGHT)
+  : head_skyline_ (boxes, Y_AXIS, RIGHT)
 {
   best_ = 0;
   head_skyline_.set_minimum_height (base_x[RIGHT]);