diff --git a/Kinetic_data_structures/include/CGAL/Kinetic/Sort.h b/Kinetic_data_structures/include/CGAL/Kinetic/Sort.h index 8616b3cc10f..e1eb3cd4dc9 100644 --- a/Kinetic_data_structures/include/CGAL/Kinetic/Sort.h +++ b/Kinetic_data_structures/include/CGAL/Kinetic/Sort.h @@ -393,7 +393,13 @@ public: out << "Sort:\n"; for (typename std::list::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;; }