Kaynağa Gözat

hashed_string: updated natvis representation

Michele Caini 4 yıl önce
ebeveyn
işleme
2ad3e0ed4c
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      natvis/entt/core.natvis

+ 3 - 2
natvis/entt/core.natvis

@@ -15,10 +15,11 @@
 		</Expand>
 	</Type>
 	<Type Name="entt::basic_hashed_string&lt;*&gt;">
-		<DisplayString Condition="str != nullptr">{{ hash={ hash } }}</DisplayString>
+		<DisplayString Condition="base_type::repr != nullptr">{{ hash={ base_type::hash } }}</DisplayString>
 		<DisplayString>{{}}</DisplayString>
 		<Expand>
-			<Item Name="[data]">str,na</Item>
+			<Item Name="[data]">base_type::repr,na</Item>
+			<Item Name="[length]">base_type::length</Item>
 		</Expand>
 	</Type>
 	<Type Name="entt::type_info">