no need for stupid ifdef anymore

This commit is contained in:
Mathieu Lacage
2011-04-11 16:39:59 +02:00
parent 7e5645edc0
commit a10c936db2

View File

@@ -51,14 +51,6 @@ GlobalValue g_schedTypeImpl = GlobalValue ("SchedulerType",
TypeIdValue (MapScheduler::GetTypeId ()),
MakeTypeIdChecker ());
#ifdef NS3_LOG_ENABLE
//
// Note: Calls that take TimePrinter as a parameter are defined as nothing
// in the logging module if NS3_LOG_ENABLE is not defined.
//
static void
TimePrinter (std::ostream &os)
{
@@ -78,8 +70,6 @@ NodePrinter (std::ostream &os)
}
}
#endif /* NS3_LOG_ENABLE */
static SimulatorImpl **PeekImpl (void)
{
static SimulatorImpl *impl = 0;