Skip to content

Commit

Permalink
Use pybind11_protobuf when passing Fingerprints.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 556081074
  • Loading branch information
BlaziusMaximus authored and copybara-github committed Aug 15, 2023
1 parent b2e7687 commit a92c654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pybind11_protobuf/proto_caster_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ struct proto_caster_load_impl {

// load converts from Python -> C++
bool load(pybind11::handle src, bool convert) {
LOG(ERROR) << "load: " << src;
// When given a none, treat it as a nullptr.
if (src.is_none()) {
value = nullptr;
Expand Down

0 comments on commit a92c654

Please sign in to comment.