Don't use hardcoded cerr in hfa.h State::dump

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
Ryan Lee 2024-11-06 18:00:16 -08:00
parent 8df57ba89c
commit d1cecd5f46

View file

@ -265,7 +265,7 @@ public:
ostream &dump(ostream &os)
{
cerr << *this << "\n";
os << *this << "\n";
for (StateTrans::iterator i = trans.begin(); i != trans.end(); i++) {
os << " " << i->first.c << " -> " << *i->second << "\n";
}