Skip to content

Commit 156bc47

Browse files
committed
natvis: update views for meta containers
1 parent 50db6f2 commit 156bc47

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

natvis/entt/meta.natvis

+8-2
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,21 @@
133133
</Expand>
134134
</Type>
135135
<Type Name="entt::meta_associative_container">
136-
<DisplayString>{ storage }</DisplayString>
136+
<DisplayString Condition="data != nullptr">{{ const={ const_only } }}</DisplayString>
137+
<DisplayString>{{}}</DisplayString>
137138
<Expand>
138139
<Item Name="[context]" Condition="ctx != nullptr">ctx->value</Item>
140+
<Item Name="[const]">const_only</Item>
141+
<Item Name="[data]">data</Item>
139142
</Expand>
140143
</Type>
141144
<Type Name="entt::meta_sequence_container">
142-
<DisplayString>{ storage }</DisplayString>
145+
<DisplayString Condition="data != nullptr">{{ const={ const_only } }}</DisplayString>
146+
<DisplayString>{{}}</DisplayString>
143147
<Expand>
144148
<Item Name="[context]" Condition="ctx != nullptr">ctx->value</Item>
149+
<Item Name="[const]">const_only</Item>
150+
<Item Name="[data]">data</Item>
145151
</Expand>
146152
</Type>
147153
<Type Name="entt::meta_data">

0 commit comments

Comments
 (0)