Skip printing null key. Not sure why that escaped so long

This commit is contained in:
Daniel Russel 2008-09-26 19:57:57 +00:00
parent 562b62e0a3
commit 07dfe8bf8c
1 changed files with 7 additions and 1 deletions

View File

@ -393,7 +393,13 @@ public:
out << "Sort:\n";
for (typename std::list<OD>::const_iterator it
= sorted_.begin(); it != sorted_.end(); ++it) {
out << it->object() << " with event (" << it->event() << ")\n";
out << it->object() << " with event (";
if (it->event() != Event_key()) {
out << it->event();
} else {
out << "NULL";
}
out << ")\n";
}
out << std::endl << std::endl;;
}