[core] Fix compilation error introduced in r12295 [e1451373c0b6]
This commit is contained in:
@@ -1068,10 +1068,10 @@ TypeId::LookupTraceSourceByName (std::string name,
|
||||
tid = nextTid;
|
||||
for (uint32_t i = 0; i < tid.GetTraceSourceN (); i++)
|
||||
{
|
||||
struct TypeId::TraceSourceInformation tmp = tid.GetTraceSource (i);
|
||||
if (tmp.name == name)
|
||||
*info = tid.GetTraceSource (i);
|
||||
if (info->name == name)
|
||||
{
|
||||
return info.accessor;
|
||||
return info->accessor;
|
||||
}
|
||||
}
|
||||
nextTid = tid.GetParent ();
|
||||
|
||||
Reference in New Issue
Block a user