X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flilypond-key.cc;h=6d96a33add41a180a8ce475b646ccfec94ca7cc3;hb=b690023c78792a05ea55c69d41be63a04f93b43a;hp=af4a521880688684769b3cf576a4f37ca6080084;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/lilypond-key.cc b/lily/lilypond-key.cc index af4a521880..6d96a33add 100644 --- a/lily/lilypond-key.cc +++ b/lily/lilypond-key.cc @@ -29,7 +29,7 @@ Lilypond_grob_key::derived_mark () const int Lilypond_grob_key::do_compare (Object_key const *key) const { - Lilypond_grob_key const *other = dynamic_cast < Lilypond_grob_key const *> (key); + Lilypond_grob_key const *other = dynamic_cast (key); int c; c = context_->compare (other->context_); @@ -101,7 +101,7 @@ int Lilypond_context_key::do_compare (Object_key const *key) const { Lilypond_context_key const *other - = dynamic_cast < Lilypond_context_key const *> (key); + = dynamic_cast (key); int c; if (parent_context_ && other->parent_context_) @@ -188,7 +188,7 @@ int Lilypond_general_key::do_compare (Object_key const *key)const { Lilypond_general_key const *other - = dynamic_cast < Lilypond_general_key const *> (key); + = dynamic_cast (key); if (parent_ && other->parent_) parent_->compare (other->parent_);