From 59167d86271437ddd24e017c2d2d66893568a057 Mon Sep 17 00:00:00 2001
From: Christopher Dunn <cdunn2001@gmail.com>
Date: Wed, 21 Jan 2015 16:04:46 -0600
Subject: [PATCH] more changes per cr

---
 src/lib_json/json_value.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp
index da5e35aa4..7cc65bd76 100644
--- a/src/lib_json/json_value.cpp
+++ b/src/lib_json/json_value.cpp
@@ -1034,12 +1034,12 @@ bool Value::removeIndex(ArrayIndex index, Value* removed) {
   *removed = it->second;
   ArrayIndex oldSize = size();
   // shift left all items left, into the place of the "removed"
-  for (ArrayIndex i=index; i<oldSize-1; i++){
+  for (ArrayIndex i = index; i < (oldSize - 1); ++i){
     CZString key(i);
-    (*value_.map_)[key] = (*this)[i+1];
+    (*value_.map_)[key] = (*this)[i + 1];
   }
   // erase the last one ("leftover")
-  CZString keyLast(oldSize-1);
+  CZString keyLast(oldSize - 1);
   ObjectValues::iterator itLast = value_.map_->find(keyLast);
   value_.map_->erase(itLast);
   return true;