private:
Item *create_custos ();
bool custos_permitted_;
- Link_array<Grob> custodes_;
- Array<Pitch> pitches_;
+ vector<Grob*> custodes_;
+ vector<Pitch> pitches_;
};
Custos_engraver::Custos_engraver ()
don't look at the staff-position, since we can't be sure
whether Clef_engraver already applied a vertical shift.
*/
- pitches_.push (*unsmob_pitch (m->get_property ("pitch")));
+ pitches_.push_back (*unsmob_pitch (m->get_property ("pitch")));
}
}
if (custos_permitted_)
{
- for (int i = pitches_.size (); i--;)
+ for (vsize i = pitches_.size (); i--;)
{
Item *c = create_custos ();
{
Item *custos = make_item ("Custos", SCM_EOL);
- custodes_.push (custos);
+ custodes_.push_back (custos);
return custos;
}
void
Custos_engraver::finalize ()
{
- for (int i = custodes_.size (); i--;)
+ for (vsize i = custodes_.size (); i--;)
custodes_[i]->suicide ();
custodes_.clear ();
}