mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
After clang-format (via pre-commit).
This commit is contained in:
@@ -354,9 +354,7 @@ TEST_SUBMODULE(class_, m) {
|
||||
using ProtectedA::foo;
|
||||
};
|
||||
|
||||
py::class_<ProtectedA>(m, "ProtectedA")
|
||||
.def(py::init<>())
|
||||
.def("foo", &PublicistA::foo);
|
||||
py::class_<ProtectedA>(m, "ProtectedA").def(py::init<>()).def("foo", &PublicistA::foo);
|
||||
|
||||
class ProtectedB {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user