From c19ef49bd548e6decf0454b4d5819a0a7c08f393 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Tue, 10 May 2011 20:51:21 -0400 Subject: [PATCH] Json shadows are gone. --- src/JsonUtil.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/JsonUtil.h b/src/JsonUtil.h index 97136a4f14..87942336e0 100644 --- a/src/JsonUtil.h +++ b/src/JsonUtil.h @@ -92,9 +92,9 @@ namespace JsonUtil int i=0; for( typename V::const_iterator iter=v.begin(); iter!=v.end(); iter++ ) { - Json::Value &v = root[i++]; - iter->first.Serialize( v[sKeyName] ); - iter->second.Serialize( v[sValueName] ); + Json::Value &vv = root[i++]; + iter->first.Serialize( vv[sKeyName] ); + iter->second.Serialize( vv[sValueName] ); } } @@ -106,9 +106,9 @@ namespace JsonUtil int i=0; for( typename V::const_iterator iter=v.begin(); iter!=v.end(); iter++ ) { - Json::Value &v = root[i++]; - iter->first.Serialize( v[sKeyName] ); - v[sValueName] = iter->second; + Json::Value &vv = root[i++]; + iter->first.Serialize( vv[sKeyName] ); + vv[sValueName] = iter->second; } }