51d50
< #include "base/stats/visit.hh"
141c140
< Text::output()
---
> Text::begin()
144,146c143,147
< list<Info *>::const_iterator i, end = statsList().end();
< for (i = statsList().begin(); i != end; ++i)
< (*i)->visit(*this);
---
> }
>
> void
> Text::end()
> {
583c584
< bool
---
> Output *
589,590c590,594
< if (connected)
< return false;
---
> if (!connected) {
> text.open(*simout.find(filename));
> text.descriptions = desc;
> connected = true;
> }
592,599c596
< extern list<Output *> OutputList;
<
< text.open(*simout.find(filename));
< text.descriptions = desc;
< OutputList.push_back(&text);
< connected = true;
<
< return true;
---
> return &text;