]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/item.cc
Refactor pure-height calculations.
[lilypond.git] / lily / item.cc
index 0f188ce59e0d9478a350fa36b5852d2d39698053..f503d98c48454905053f591c269509685662cfe4 100644 (file)
@@ -253,12 +253,6 @@ Item::pure_height (Grob *g, int start, int end)
   return cached_pure_height_ + pure_relative_y_coordinate (g, start, end);
 }
 
-bool
-Item::less (Grob * const &g1, Grob * const &g2)
-{
-  return dynamic_cast<Item*> (g1)->get_column ()->get_rank () < dynamic_cast<Item*> (g2)->get_column ()->get_rank ();
-}
-
 ADD_INTERFACE (Item,
               "Grobs can be distinguished in their role in the horizontal"
               " spacing.  Many grobs define constraints on the spacing by"