mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-21 22:24:35 +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() )
|
||||
{
|
||||
T item = Create( name );
|
||||
m_pending.emplace( name, item );
|
||||
Query( name );
|
||||
if( item )
|
||||
{
|
||||
m_pending.emplace( name, item );
|
||||
Query( name );
|
||||
}
|
||||
return item;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user