]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-tie-follow-engraver.cc
Issue 4131/3: Remove definitions of \partcombine*Once
[lilypond.git] / lily / tab-tie-follow-engraver.cc
index bd2bde2987d0ac80a9c1f8cef63c93d727461615..defbe19668431b26a7c8f77ef3e42dce2d4f4f13 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2010--2011 Carl D. Sorensen
+  Copyright (C) 2010--2015 Carl D. Sorensen
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -22,7 +22,6 @@
 
 #include "engraver.hh"
 
-using namespace std;
 
 #include "context.hh"
 #include "item.hh"
@@ -30,6 +29,8 @@ using namespace std;
 
 #include "translator.icc"
 
+using std::vector;
+
 /*
    Change tab-note-head properties when a tie is followed by a
    slurs or glissando.
@@ -85,7 +86,7 @@ Tab_tie_follow_engraver::stop_translation_timestep ()
           if (left_item)
             {
               SCM left_cause = left_item->get_property ("cause");
-              Item *slur_cause = unsmob_item (left_cause);
+              Item *slur_cause = unsmob<Item> (left_cause);
               if (slur_cause == note_heads_[k])
                 {
                   note_heads_[k]->set_property ("span-start", SCM_BOOL_T);