aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/util/internal/protostream_objectwriter.h
diff options
context:
space:
mode:
authorBrandon Cole <brandon.w.cole@gmail.com>2018-08-30 11:32:45 -0400
committerBrandon Cole <brandon.w.cole@gmail.com>2018-08-30 11:32:45 -0400
commit3d32de9b2c05c209461042bb242147c02f84d353 (patch)
tree30458873fbcd1adc5247c196a565043afb32b69c /src/google/protobuf/util/internal/protostream_objectwriter.h
parentd83a9f66bcf9dfcee6bfd739ba09f405362036d9 (diff)
downloadprotobuf-3d32de9b2c05c209461042bb242147c02f84d353.tar.gz
protobuf-3d32de9b2c05c209461042bb242147c02f84d353.tar.bz2
protobuf-3d32de9b2c05c209461042bb242147c02f84d353.zip
Code fixes for the original unit test.
Credit goes to @mercret for the fix.
Diffstat (limited to 'src/google/protobuf/util/internal/protostream_objectwriter.h')
-rw-r--r--src/google/protobuf/util/internal/protostream_objectwriter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/google/protobuf/util/internal/protostream_objectwriter.h b/src/google/protobuf/util/internal/protostream_objectwriter.h
index 714c5561..df56a8bd 100644
--- a/src/google/protobuf/util/internal/protostream_objectwriter.h
+++ b/src/google/protobuf/util/internal/protostream_objectwriter.h
@@ -323,6 +323,11 @@ class LIBPROTOBUF_EXPORT ProtoStreamObjectWriter : public ProtoWriter {
const google::protobuf::Type& type,
strings::ByteSink* output, ErrorListener* listener);
+ ProtoStreamObjectWriter(const TypeInfo* typeinfo,
+ const google::protobuf::Type& type,
+ strings::ByteSink* output, ErrorListener* listener,
+ const ProtoStreamObjectWriter::Options& options);
+
// Returns true if the field is a map.
inline bool IsMap(const google::protobuf::Field& field);