]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spanner.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / spanner.cc
index 087331ab9ffabae48dfd45883b8226b204b67228..c01ac14165eebbd16ea6f47557338d2e59c78cc4 100644 (file)
@@ -26,6 +26,8 @@
 #include "system.hh"
 #include "warn.hh"
 
+using std::vector;
+
 Grob *
 Spanner::clone () const
 {
@@ -210,7 +212,7 @@ Spanner::set_bound (Direction d, Grob *s)
       original parent for alignment.
       This happens e.g. for MultiMeasureRestNumbers and PercentRepeatCounters.
     */
-    if (!dynamic_cast <Spanner *> (this->get_parent (X_AXIS)))
+    if (!dynamic_cast <Spanner *> (get_parent (X_AXIS)))
       set_parent (i, X_AXIS);
 
   /*