Switched to Google coding style to match cpplint expectations

This commit is contained in:
Benoit Blanchon
2014-10-23 23:13:13 +02:00
parent 5c8283b3e4
commit b43da1e421
47 changed files with 262 additions and 308 deletions

View File

@@ -13,7 +13,7 @@ class JsonBuffer {
friend class Internals::JsonNode;
friend class Internals::JsonParser;
public:
public:
virtual ~JsonBuffer(){};
JsonArray createArray() { return JsonArray(createArrayNode()); }
@@ -24,12 +24,12 @@ public:
JsonArray parseArray(char *json);
JsonObject parseObject(char *json);
JsonValue parseValue(char *json); // TODO: remove
JsonValue parseValue(char *json); // TODO: remove
protected:
protected:
virtual void *allocateNode() = 0;
private:
private:
Internals::JsonNode *createNode();
Internals::JsonNode *createArrayNode();