]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performer.cc
release: 1.1.1
[lilypond.git] / lily / performer.cc
index 5775f157eb4133230dbe0a73a96cb34e97ccaf48..449caf22bb486cc2de1c436eafbd99a6fb2f01f9 100644 (file)
@@ -3,8 +3,8 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
-               Jan Nieuwenhuizen <jan@digicash.com>
+  (c) 1996,  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+               Jan Nieuwenhuizen <janneke@gnu.org>
  */
 
 
 
 IMPLEMENT_IS_TYPE_B1(Performer, Translator);
 
-Performer::Performer()
-{
-}
-
 void 
 Performer::play (Audio_element* p) 
 { 
@@ -34,6 +30,6 @@ Performer_group_performer*
 Performer::daddy_perf_l () const
 {
   return (daddy_trans_l_) 
-    ?(Performer_group_performer*) daddy_trans_l_->performer_l ()
+    ?dynamic_cast<Performer_group_performer *> (daddy_trans_l_)
     : 0;
 }