From b715af1d7ae27aa1c3cdca6b18cf17873ecdb6ba Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Thu, 19 Nov 2009 13:39:59 +0100 Subject: [PATCH] tie_performer: ties_created_ variable no longer needed --- lily/tie-performer.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lily/tie-performer.cc b/lily/tie-performer.cc index 35d52ce0d4..d8b4aa6d01 100644 --- a/lily/tie-performer.cc +++ b/lily/tie-performer.cc @@ -20,8 +20,6 @@ class Tie_performer : public Performer vector now_tied_heads_; vector heads_to_tie_; - bool ties_created_; - protected: void stop_translation_timestep (); void start_translation_timestep (); @@ -35,7 +33,6 @@ public: Tie_performer::Tie_performer () { event_ = 0; - ties_created_ = false; } IMPLEMENT_TRANSLATOR_LISTENER (Tie_performer, tie); @@ -79,7 +76,6 @@ Tie_performer::acknowledge_audio_element (Audio_element_info inf) { found = true; an->tie_to (th); - ties_created_ = true; // this invalidates the iterator, we are leaving the loop anyway heads_to_tie_.erase (it); } @@ -102,7 +98,6 @@ Tie_performer::stop_translation_timestep () if (!to_boolean (get_property ("tieWaitForNote"))) { heads_to_tie_.clear (); - ties_created_ = false; } if (event_) -- 2.39.2