author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Thu, 02 Aug 2007 14:47:51 +0100 | |
changeset 1019 | 5f7c8a0bd0fc |
parent 1018 | 99476ef5580a |
child 1020 | ebcb38b7ff7d |
src/core/debug.cc | file | annotate | diff | comparison | revisions |
--- a/src/core/debug.cc Thu Aug 02 13:59:08 2007 +0100 +++ b/src/core/debug.cc Thu Aug 02 14:47:51 2007 +0100 @@ -24,6 +24,7 @@ #include "debug.h" #include "assert.h" #include "ns3/core-config.h" +#include "fatal-error.h" #ifdef HAVE_STDLIB_H #include <stdlib.h> @@ -88,7 +89,7 @@ } if (!found) { - std::cout << "No debug component named=\"" << tmp << "\"" << std::endl; + NS_FATAL_ERROR ("No debug component named=\"" << tmp << "\""); } if (next == std::string::npos) {