From 48c721c4b9e27f96158b3e2f355dd55f91d8f458 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 10 Feb 2019 16:36:09 +0100 Subject: [PATCH] Fix natvis display of exact reserved vector's capacity. --- profiler/build/win32/DebugVis.natvis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/build/win32/DebugVis.natvis b/profiler/build/win32/DebugVis.natvis index bd0d15da..a8dd3612 100644 --- a/profiler/build/win32/DebugVis.natvis +++ b/profiler/build/win32/DebugVis.natvis @@ -3,7 +3,7 @@ {{ size={m_size} }} - m_ptr == nullptr ? 0 : 1 << m_capacity + m_capacity == 255 ? m_size : m_ptr == nullptr ? 0 : 1 << m_capacity m_size m_ptr