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

Unified Diff: lily/paper-column-engraver.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/ottava-engraver.cc ('k') | lily/piano-pedal-align-engraver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/paper-column-engraver.cc
diff --git a/lily/paper-column-engraver.cc b/lily/paper-column-engraver.cc
index 6dd29300130878be798fc0bfb9670035874d02a7..46515768ed13c958d36bb658e0f0cb47561590ae 100644
--- a/lily/paper-column-engraver.cc
+++ b/lily/paper-column-engraver.cc
@@ -108,7 +108,7 @@ Paper_column_engraver::initialize ()
void
Paper_column_engraver::acknowledge_item (Grob_info gi)
{
- items_.push_back (gi.item ());
+ items_.push_back (dynamic_cast<Item *> (gi.grob ()));
}
void
« no previous file with comments | « lily/ottava-engraver.cc ('k') | lily/piano-pedal-align-engraver.cc » ('j') | no next file with comments »

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