- const vector<SequenceTemplate::Step> &steps = tmpl.get_steps();
- for(vector<SequenceTemplate::Step>::const_iterator i=steps.begin(); i!=steps.end(); ++i)
- renderables[i->slot_name] = i->default_renderable;
- const vector<SequenceTemplate::PostProcessor> &postprocs = tmpl.get_postprocessors();
- for(SequenceTemplate::PostProcessorArray::const_iterator i=postprocs.begin(); i!=postprocs.end(); ++i)
- if(!i->slot_name.empty())
- postprocessors[i->slot_name] = 0;
+ for(const SequenceTemplate::Step &s: tmpl.get_steps())
+ renderables[s.slot_name] = s.default_renderable;
+ for(const SequenceTemplate::PostProcessor &p: tmpl.get_postprocessors())
+ if(!p.slot_name.empty())
+ postprocessors[p.slot_name] = 0;