From 84fb9af076467b6616942dee8f189ecb9fd7ff6e Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 4 Mar 2024 09:49:59 +0100 Subject: [PATCH] natvis: reintroduce simple views for containers --- natvis/entt/container.natvis | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/natvis/entt/container.natvis b/natvis/entt/container.natvis index e82068878..3fbfa1867 100644 --- a/natvis/entt/container.natvis +++ b/natvis/entt/container.natvis @@ -5,10 +5,10 @@ {{ size={ size() } }} - packed.first_base::value.capacity() - bucket_count() - (float)size() / (float)bucket_count() - threshold + packed.first_base::value.capacity() + bucket_count() + (float)size() / (float)bucket_count() + threshold size() packed.first_base::value[$i].element @@ -20,10 +20,10 @@ {{ size={ size() } }} - packed.first_base::value.capacity() - bucket_count() - (float)size() / (float)bucket_count() - threshold + packed.first_base::value.capacity() + bucket_count() + (float)size() / (float)bucket_count() + threshold size() packed.first_base::value[$i].second