]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/context-def.cc
Issue 5053/2: Fix extendersOverRests property
[lilypond.git] / lily / context-def.cc
index 762a7f952ea4f15519becdd70e850d8a05237e60..5768ee5471989f94d42dc87fc13f6c1737e2489e 100644 (file)
 #include "translator.hh"
 #include "warn.hh"
 
-using std::set;
-using std::string;
-using std::vector;
-
 Context_def::Context_def ()
 {
   context_aliases_ = SCM_EOL;
@@ -86,7 +82,7 @@ Context_def::~Context_def ()
 {
 }
 
-const char Context_def::type_p_name_[] = "ly:context-def?";
+const char * const Context_def::type_p_name_ = "ly:context-def?";
 
 int
 Context_def::print_smob (SCM port, scm_print_state *) const
@@ -298,7 +294,7 @@ Context_def::get_translator_names (SCM user_mod) const
       else if (scm_is_eq (tag, ly_symbol2scm ("remove"))
                && (scm_is_pair (arg)
                    || ly_is_procedure (arg)
-                   || get_translator (arg)))
+                   || get_translator_creator (arg)))
         l1 = scm_delete_x (arg, l1);
     }