From d53fe98e102424ca96e96aa293a6327e3a83b98f Mon Sep 17 00:00:00 2001 From: iceboy Date: Tue, 5 Feb 2019 13:09:50 -0800 Subject: [PATCH] Refine comment in idl.h --- include/flatbuffers/idl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h index a766f57b3..229c789cd 100644 --- a/include/flatbuffers/idl.h +++ b/include/flatbuffers/idl.h @@ -276,8 +276,9 @@ struct FieldDef : public Definition { bool key; // Field functions as a key for creating sorted vectors. bool native_inline; // Field will be defined inline (instead of as a pointer) // for native tables if field is a struct. - bool native_shared; // Field will be using CreateSharedString while packing - // if field is a string. + bool native_shared; // Field will be using string pooling + // (i.e. CreateSharedString) as default serialization + // behavior if field is a string. bool flexbuffer; // This field contains FlexBuffer data. StructDef *nested_flatbuffer; // This field contains nested FlatBuffer data. size_t padding; // Bytes to always pad after this field.