Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3542)

Unified Diff: lily/grob-array.cc

Issue 344010043: Issue 5336: Remove downcasting methods from Grob_array and Grob_info (Closed)
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/extender-engraver.cc ('k') | lily/grob-info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/grob-array.cc
diff --git a/lily/grob-array.cc b/lily/grob-array.cc
index f5228dfd7148d91296dac7765b8b197cb162f34c..12f78ee84c0bbad539f3847322d20ec242bdd73c 100644
--- a/lily/grob-array.cc
+++ b/lily/grob-array.cc
@@ -18,21 +18,7 @@
*/
#include "grob-array.hh"
-#include "item.hh"
-#include "spanner.hh"
-
-
-Item *
-Grob_array::item (vsize i)
-{
- return dynamic_cast<Item *> (grobs_.at (i));
-}
-
-Spanner *
-Grob_array::spanner (vsize i)
-{
- return dynamic_cast<Spanner *> (grobs_.at (i));
-}
+#include "grob.hh"
Grob_array::Grob_array ()
{
« no previous file with comments | « lily/extender-engraver.cc ('k') | lily/grob-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b