]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/gdb.cc
Add cautionary-style to interface.
[lilypond.git] / lily / gdb.cc
index 0df1e5085acb07836453f30bc07ee7fb2d64b6ca..e8f71657e4418ad57a121da57f960ab34d9100f2 100644 (file)
@@ -3,12 +3,12 @@
 
 // thanks to GDBs wonderful casting abilities, we need these:
 Item*
-to_item (Graphical_element* g)
+to_item (Grob* g)
 {
-  return dynamic_cast<Item*>(g);
+  return dynamic_cast<Item*> (g);
 }
 Spanner*
-to_spanner (Graphical_element*g)
+to_spanner (Grob*g)
 {
-  return dynamic_cast<Spanner*>(g);
+  return dynamic_cast<Spanner*> (g);
 }