Fix gcc warning

This commit is contained in:
miloyip 2015-04-13 16:49:10 +08:00
parent 7e1a6a1bb2
commit 331009a321

View File

@ -1196,10 +1196,10 @@ struct TerminateHandler {
bool Double(double) { return e != 6; } bool Double(double) { return e != 6; }
bool String(const char*, SizeType, bool) { return e != 7; } bool String(const char*, SizeType, bool) { return e != 7; }
bool StartObject() { return e != 8; } bool StartObject() { return e != 8; }
bool Key(const char* str, SizeType length, bool copy) { return e != 9; } bool Key(const char*, SizeType, bool) { return e != 9; }
bool EndObject(SizeType memberCount) { return e != 10; } bool EndObject(SizeType) { return e != 10; }
bool StartArray() { return e != 11; } bool StartArray() { return e != 11; }
bool EndArray(SizeType elementCount) { return e != 12; } bool EndArray(SizeType) { return e != 12; }
}; };
#define TEST_TERMINATION(e, json)\ #define TEST_TERMINATION(e, json)\