We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ProtoType::GetDescriptor()
ProtoType::descriptor()
1 parent 4ac531c commit 505e54eCopy full SHA for 505e54e
pybind11_protobuf/proto_caster_impl.h
@@ -63,7 +63,8 @@ struct proto_caster_load_impl {
63
// The incoming object is not a compatible fast_cpp_proto, so check whether
64
// it is otherwise compatible, then serialize it and deserialize into a
65
// native C++ proto type.
66
- if (!pybind11_protobuf::PyProtoIsCompatible(src, ProtoType::descriptor())) {
+ if (!pybind11_protobuf::PyProtoIsCompatible(src,
67
+ ProtoType::GetDescriptor())) {
68
return false;
69
}
70
owned = std::unique_ptr<ProtoType>(new ProtoType());
0 commit comments