]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/translator-group.cc
Issue 4377: Run a script for using derived_unsmob where obvious
[lilypond.git] / lily / translator-group.cc
index 2e6039a9af93a2c5c10b93535d0009a882d1f795..df3eb6456549e79ad14f57946610c49edc6081b4 100644 (file)
@@ -90,7 +90,7 @@ Translator_group::finalize ()
   Both filter_performers and filter_engravers used to use a direct dynamic_cast
   on the unsmobbed translator to be filtered, i.e.,
 
-  if (dynamic_cast<Performer *> (Translator::unsmob (scm_car (*tail))))
+  if (Performer::unsmob (scm_car (*tail)))
 
   but this caused mysterious optimisation issues in several GUB builds.  See
   issue #818 for the background to this change.