X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftab-tie-follow-engraver.cc;h=fbc5f0c3b2cc7a5394310f3deccd4018c4462cf5;hb=f127e14af04f474d20406ca0e0f76f05061ee103;hp=b0365990146a8e352b3a28e3a1aa32200bd2b61e;hpb=60b7eedd586ad8f52e4aafdf68d600409769edf5;p=lilypond.git diff --git a/lily/tab-tie-follow-engraver.cc b/lily/tab-tie-follow-engraver.cc index b036599014..fbc5f0c3b2 100644 --- a/lily/tab-tie-follow-engraver.cc +++ b/lily/tab-tie-follow-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2010--2012 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 @@ -30,6 +30,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 +87,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 (left_cause); if (slur_cause == note_heads_[k]) { note_heads_[k]->set_property ("span-start", SCM_BOOL_T);