Browse Source

natvis: updated container/dense_set snippet

Michele Caini 4 years ago
parent
commit
bb42dceaca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      natvis/entt/container.natvis

+ 1 - 1
natvis/entt/container.natvis

@@ -26,7 +26,7 @@
 			<Item Name="[max_load_factor]" ExcludeView="simple">threshold</Item>
 			<IndexListItems>
 				<Size>size()</Size>
-				<ValueNode>packed.first_base::value[$i].element</ValueNode>
+				<ValueNode>*reinterpret_cast&lt;$T1 *&gt;(&amp;packed.first_base::value[$i].instance)</ValueNode>
 			</IndexListItems>
 		</Expand>
 	</Type>