proto_writer.h: RenderBytes is an override. Marking it. (#4707)

* proto_writer.h: RenderBytes is an override. Marking it.
This commit is contained in:
medinandres 2018-06-18 13:54:31 -07:00 committed by Feng Xiao
parent 36c5780a3d
commit e264d6bc58

View File

@ -110,7 +110,7 @@ class LIBPROTOBUF_EXPORT ProtoWriter : public StructuredObjectWriter {
return RenderDataPiece(name, return RenderDataPiece(name,
DataPiece(value, use_strict_base64_decoding())); DataPiece(value, use_strict_base64_decoding()));
} }
virtual ProtoWriter* RenderBytes(StringPiece name, StringPiece value) { ProtoWriter* RenderBytes(StringPiece name, StringPiece value) override {
return RenderDataPiece( return RenderDataPiece(
name, DataPiece(value, false, use_strict_base64_decoding())); name, DataPiece(value, false, use_strict_base64_decoding()));
} }