Browse Source

natvis: update registry snippet

Michele Caini 3 years ago
parent
commit
8bed15e469
1 changed files with 2 additions and 2 deletions
  1. 2 2
      natvis/entt/entity.natvis

+ 2 - 2
natvis/entt/entity.natvis

@@ -26,10 +26,10 @@
 				</Expand>
 				</Expand>
 			</Synthetic>
 			</Synthetic>
 			<Synthetic Name="[destroyed]" ExcludeView="simple">
 			<Synthetic Name="[destroyed]" ExcludeView="simple">
-				<DisplayString>{ to_entity(free_list) != entity_traits::entity_mask }</DisplayString>
+				<DisplayString>{ to_entity(free_list.first_base::value) != entity_traits::entity_mask }</DisplayString>
 				<Expand>
 				<Expand>
 					<CustomListItems>
 					<CustomListItems>
-						<Variable Name="it" InitialValue="to_entity(free_list)" />
+						<Variable Name="it" InitialValue="to_entity(free_list.first_base::value)" />
 						<Loop>
 						<Loop>
 							<Break Condition="it == entity_traits::entity_mask"/>
 							<Break Condition="it == entity_traits::entity_mask"/>
 							<Item Name="[{ it }]">epool[it]</Item>
 							<Item Name="[{ it }]">epool[it]</Item>