[core] Fix compilation error introduced in r12295 [e1451373c0b6]

This commit is contained in:
Peter D. Barnes, Jr.
2016-09-02 23:12:36 -04:00
parent c36606a7b9
commit ba7ae20fb5

View File

@@ -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 ();