Skip to content

Commit b08da7b

Browse files
rwgkcopybara-github
authored andcommitted
Internal change.
PiperOrigin-RevId: 463965515
1 parent 99da22c commit b08da7b

File tree

3 files changed

+0
-32
lines changed

3 files changed

+0
-32
lines changed

pybind11_protobuf/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pybind_library(
2020

2121
pybind_library(
2222
name = "native_proto_caster",
23-
srcs = ["native_proto_caster.cc"],
2423
hdrs = ["native_proto_caster.h"],
2524
visibility = [
2625
"//visibility:public",

pybind11_protobuf/native_proto_caster.cc

Lines changed: 0 additions & 22 deletions
This file was deleted.

pybind11_protobuf/native_proto_caster.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@
1717
#include "pybind11_protobuf/enum_type_caster.h"
1818
#include "pybind11_protobuf/proto_caster_impl.h"
1919

20-
// NOTE: This directly currently contains 2 mutually incompatible
21-
// implementations of pybind11::type_caster<> for ::google::protobuf::Message types due to
22-
// C++ ODR violations. Only one of the following is allowed:
23-
// * proto_casters.h (legacy)
24-
// * native_proto_caster.h (preferred)
25-
//
26-
// When possible, please convert code and all dependencies to the preferred
27-
// native_proto_caster.h implementation.
28-
2920
// pybind11::type_caster<> specialization for ::google::protobuf::Message types that
3021
// that convets protocol buffer objects between C++ and python representations.
3122
// This binder supports binaries linked with both native python protos

0 commit comments

Comments
 (0)