Do not use deprecated ReleaseCleared in protobuf library.
authorVincent Rabaud <vrabaud@google.com>
Thu, 26 Aug 2021 07:46:25 +0000 (09:46 +0200)
committerVincent Rabaud <vrabaud@google.com>
Thu, 26 Aug 2021 13:36:22 +0000 (15:36 +0200)
commit38d0063c367b2697b57ab0809530889cc2e20fd7
tree4fcd1419a2a8860e59b8a4adeff2f1a1f7b134a2
parentdf834597211eb350b497d01a9a2c281b3f5272bd
Do not use deprecated ReleaseCleared in protobuf library.

This is to make code work with protobuf arenas for memory
management (ReleaseCleared is incompatible).
The cleaning of the memory is also simpler.
modules/dnn/src/caffe/caffe_importer.cpp