mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +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 );
|
||||||
|
if( item )
|
||||||
|
{
|
||||||
m_pending.emplace( name, item );
|
m_pending.emplace( name, item );
|
||||||
Query( name );
|
Query( name );
|
||||||
|
}
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user