Remove obsolete struct, never invoked.
--- a/src/core/model/fatal-impl.cc Sun Aug 09 21:17:18 2015 +0200
+++ b/src/core/model/fatal-impl.cc Wed Jul 29 12:44:41 2015 -0700
@@ -92,31 +92,6 @@
return *pstreams;
}
-/**
- * \ingroup fatalimpl
- * \brief Destructor for the list of fatal streams.
- *
- * \todo Is this ever called?
- * Not obvious that it is. Test with something like
- * \code
- * main (int argc, char ** argv)
- * {
- * NS_FATAL_MSG ("Aborting.")
- * }
- * \endcode
- * Then run under valgrind or the debugger. If this isn't called,
- * try adding the call to \c sigHandler.
- */
-struct destructor
-{
- ~destructor ()
- {
- NS_LOG_FUNCTION (this);
- std::list<std::ostream*> **pstreams = PeekStreamList ();
- delete *pstreams;
- *pstreams = 0;
- }
-};
} // anonymous namespace
void