]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/general-script-def.cc
release: 1.1.6
[lilypond.git] / lily / general-script-def.cc
index ba7da733e29d57ecf9db91fd57d86ac2ed3e470c..3ce45fbf5c6271d3cb05983d49db88807c9328e0 100644 (file)
@@ -37,9 +37,6 @@ General_script_def::inside_b() const
 bool
 General_script_def::equal_b (General_script_def const&g) const
 {
-  if (name() != g.name ())
-    return false;
-
   return do_equal_b (&g);
 }
 
@@ -53,7 +50,7 @@ General_script_def::do_equal_b (General_script_def const*) const
 void
 General_script_def::print() const
 {
-  DOUT << name() << "{";
+  DOUT << classname(this) << "{";
   do_print();
   DOUT << "}";
 }
@@ -70,7 +67,7 @@ General_script_def::get_atom (Paper_def*, Direction) const
   return Atom (s);
 }
 
-IMPLEMENT_IS_TYPE_B(General_script_def);
+
 
 
 Interval