From b7933f85baebd57d371fcdf760b2400557875991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Fri, 27 Jun 2014 13:43:26 +0200 Subject: [PATCH] Renamed addItem() to add() --- JsonGeneratorTests/JsonArray.h | 10 +++++----- JsonGeneratorTests/JsonHashTable.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/JsonGeneratorTests/JsonArray.h b/JsonGeneratorTests/JsonArray.h index 58e81cde..600003dd 100644 --- a/JsonGeneratorTests/JsonArray.h +++ b/JsonGeneratorTests/JsonArray.h @@ -19,25 +19,25 @@ public: void add(const char* value) { - addItem(JsonValue(value)); + add(JsonValue(value)); } void add(double value) { - addItem(JsonValue(value)); + add(JsonValue(value)); } void add(bool value) { - addItem(JsonValue(value)); + add(JsonValue(value)); } void add(JsonObjectBase& value) { - addItem(JsonValue(value)); + add(JsonValue(value)); } - void addItem(JsonValue value) + void add(JsonValue value) { if (itemCount >= N) return; diff --git a/JsonGeneratorTests/JsonHashTable.h b/JsonGeneratorTests/JsonHashTable.h index 0919058a..eb655b82 100644 --- a/JsonGeneratorTests/JsonHashTable.h +++ b/JsonGeneratorTests/JsonHashTable.h @@ -19,10 +19,10 @@ public: void add(const char* key, const char* value) { - addItem(key, JsonValue(value)); + add(key, JsonValue(value)); } - void addItem(const char* key, JsonValue value) + void add(const char* key, JsonValue value) { if (itemCount >= N) return;