From 36481c30b324a3528eb2995543ab5b8272eed2a0 Mon Sep 17 00:00:00 2001 From: ioannis-e Date: Mon, 30 Mar 2020 05:22:52 +0300 Subject: [PATCH] Update Visual Studio Visualizer (#1665) 1. Determine the correct type of string based on encoding 2. Omit string pointer address --- contrib/natvis/rapidjson.natvis | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/natvis/rapidjson.natvis b/contrib/natvis/rapidjson.natvis index a804b7bf6..e7bd44b6e 100644 --- a/contrib/natvis/rapidjson.natvis +++ b/contrib/natvis/rapidjson.natvis @@ -5,8 +5,8 @@ null true false - {data_.ss.str} - {(const char*)((size_t)data_.s.str & 0x0000FFFFFFFFFFFF)} + {(const Ch*)data_.ss.str,na} + {(const Ch*)((size_t)data_.s.str & 0x0000FFFFFFFFFFFF),na} {data_.n.i.i} {data_.n.u.u} {data_.n.i64}