]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performer.cc
patch::: 1.1.41.tca1
[lilypond.git] / lily / performer.cc
index ed171b5a7066419bb3436f1c6d8e4101ffd43355..82dce90299b91b3603e71da401e5b0a94a9b33e3 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--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+               Jan Nieuwenhuizen <janneke@gnu.org>
  */
 
 
@@ -12,7 +12,7 @@
 #include "debug.hh"
 
 
-IMPLEMENT_IS_TYPE_B1(Performer, Translator);
+
 
 void 
 Performer::play (Audio_element* p) 
@@ -30,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;
 }