use fully-qualified c++ typename to allow using macros outside of the ns3 namespace.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 30 Jul 2008 12:44:34 -0700
changeset 3495 67786573098a
parent 3494 b198b3d06e86
child 3496 5bb36e3c54d6
use fully-qualified c++ typename to allow using macros outside of the ns3 namespace.
src/core/log.h
--- a/src/core/log.h	Wed Jul 30 12:43:43 2008 -0700
+++ b/src/core/log.h	Wed Jul 30 12:44:34 2008 -0700
@@ -151,7 +151,7 @@
 #define NS_LOG_APPEND_TIME_PREFIX                               \
   if (g_log.IsEnabled (ns3::LOG_PREFIX_TIME))                   \
     {                                                           \
-      LogTimePrinter printer = LogGetTimePrinter ();            \
+      ns3::LogTimePrinter printer = ns3::LogGetTimePrinter ();  \
       if (printer != 0)                                         \
         {                                                       \
           (*printer) (std::clog);                               \