Fix gcc warning

This commit is contained in:
Milo Yip 2015-05-11 11:13:28 +08:00
parent 8c258405f2
commit 6b7e7d769d

View File

@ -797,7 +797,7 @@ static char* ReadFile(const char* filename, size_t& length) {
class RemoteSchemaDocumentProvider : public IRemoteSchemaDocumentProvider {
public:
RemoteSchemaDocumentProvider() {
RemoteSchemaDocumentProvider() : documentAllocator_(), schemaAllocator_() {
const char* filenames[kCount] = {
"jsonschema/remotes/integer.json",
"jsonschema/remotes/subSchemas.json",