]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie-performer.cc
release: 1.3.110
[lilypond.git] / lily / tie-performer.cc
index 685806ff95db53709fc5c423015b002b5a24e5d6..fca448b6227ee89149b7cbc6dde43156fc9065fd 100644 (file)
@@ -39,10 +39,8 @@ inline int compare (CNote_melodic_tuple const &a, CNote_melodic_tuple const &b)
 class Tie_performer : public Performer
 {
 public:
-  VIRTUAL_COPY_CONS (Translator);
-
+  VIRTUAL_COPY_CONS(Translator);
   Tie_performer ();
-  
 private:
   bool done_;
   PQueue<CNote_melodic_tuple> past_notes_pq_;
@@ -52,7 +50,7 @@ private:
   Link_array<Audio_tie> tie_p_arr_;
   
 protected:
-  virtual void do_creation_processing ();
+  virtual void initialize ();
   virtual void start_translation_timestep ();
   virtual void stop_translation_timestep ();
   virtual void acknowledge_grob (Audio_element_info);
@@ -60,23 +58,31 @@ protected:
   virtual void create_grobs ();
 };
 
+
+Tie_performer::Tie_performer ()
+{
+  req_l_ = 0;
+  done_ = false;
+}
+
 ADD_THIS_TRANSLATOR (Tie_performer);
 
 
+#if 0
 Tie_performer::Tie_performer ()
 {
   // URG
   // if we don't do this, lily dumps core
-  // which means that ``do_creation_processing'' and
+  // which means that ``initialize'' and
   // ``start_translation_timestep'' did not happen?!
-  do_creation_processing ();
+  initialize ();
 }
+#endif
 
 void
-Tie_performer::do_creation_processing ()
+Tie_performer::initialize ()
 {
   req_l_ = 0;
-  done_ = false;
 }