From 07dfe8bf8ce7e3d3de76bc97e7c7f35393c4c8b8 Mon Sep 17 00:00:00 2001 From: Daniel Russel Date: Fri, 26 Sep 2008 19:57:57 +0000 Subject: [PATCH] Skip printing null key. Not sure why that escaped so long --- Kinetic_data_structures/include/CGAL/Kinetic/Sort.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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;; }