mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
Support Create() not creating an item.
This commit is contained in:
parent
cf23441116
commit
216a4b7663
@ -53,8 +53,11 @@ public:
|
|||||||
if( pit == m_pending.end() )
|
if( pit == m_pending.end() )
|
||||||
{
|
{
|
||||||
T item = Create( name );
|
T item = Create( name );
|
||||||
m_pending.emplace( name, item );
|
if( item )
|
||||||
Query( name );
|
{
|
||||||
|
m_pending.emplace( name, item );
|
||||||
|
Query( name );
|
||||||
|
}
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user