Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation (#6703)
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action This fixes #6652.
This commit is contained in:
@@ -122,10 +122,8 @@ public:
|
||||
{
|
||||
m_veh = v;
|
||||
|
||||
#ifndef NO_DEBUG_MESSAGES
|
||||
CPerformanceTimer perf;
|
||||
perf.Start();
|
||||
#endif /* !NO_DEBUG_MESSAGES */
|
||||
|
||||
Yapf().PfSetStartupNodes();
|
||||
bool bDestFound = true;
|
||||
@@ -154,7 +152,6 @@ public:
|
||||
|
||||
bDestFound &= (m_pBestDestNode != NULL);
|
||||
|
||||
#ifndef NO_DEBUG_MESSAGES
|
||||
perf.Stop();
|
||||
if (_debug_yapf_level >= 2) {
|
||||
int t = perf.Get(1000000);
|
||||
@@ -174,7 +171,6 @@ public:
|
||||
);
|
||||
}
|
||||
}
|
||||
#endif /* !NO_DEBUG_MESSAGES */
|
||||
return bDestFound;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user