mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Fix natvis display of exact reserved vector's capacity.
This commit is contained in:
parent
740486a0ce
commit
48c721c4b9
@ -3,7 +3,7 @@
|
|||||||
<Type Name="tracy::Vector<*>">
|
<Type Name="tracy::Vector<*>">
|
||||||
<DisplayString>{{ size={m_size} }}</DisplayString>
|
<DisplayString>{{ size={m_size} }}</DisplayString>
|
||||||
<Expand>
|
<Expand>
|
||||||
<Item Name="[capacity]" ExcludeView="simple">m_ptr == nullptr ? 0 : 1 << m_capacity</Item>
|
<Item Name="[capacity]" ExcludeView="simple">m_capacity == 255 ? m_size : m_ptr == nullptr ? 0 : 1 << m_capacity</Item>
|
||||||
<ArrayItems>
|
<ArrayItems>
|
||||||
<Size>m_size</Size>
|
<Size>m_size</Size>
|
||||||
<ValuePointer>m_ptr</ValuePointer>
|
<ValuePointer>m_ptr</ValuePointer>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user