From 2cd0d756d8b4314dd261c1b4a10036447b3da358 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 17 Jun 2020 14:12:10 +0800 Subject: [PATCH] 1 --- cpp/utils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/utils.cc b/cpp/utils.cc index fa4e418..d9c98d0 100644 --- a/cpp/utils.cc +++ b/cpp/utils.cc @@ -219,6 +219,7 @@ namespace f8 if (field_desc->is_repeated()) { a8::MutableXObject* array_obj = a8::MutableXObject::NewArray(); std::shared_ptr repeated_field = jsonobj.At(field_name); + continue; for (int i = 0; i < reflection->FieldSize(*msg, field_desc); ++i) { switch (field_desc->cpp_type()) { case google::protobuf::FieldDescriptor::CPPTYPE_BOOL: