Commit fb0e2e5d by Wenzel Jakob

minor formatting fix

parent d7e208c7
......@@ -126,11 +126,11 @@ void init_issues(py::module &m) {
auto call_f = [](A *a) { a->f(); };
pybind11::class_<A, std::unique_ptr<A>, PyA>(m2, "A")
.def(py::init<>())
.def("f", &A::f);
pybind11::class_<A, std::unique_ptr<A>, PyA>(m2, "A")
.def(py::init<>())
.def("f", &A::f);
m2.def("call_f", call_f);
m2.def("call_f", call_f);
try {
py::class_<Placeholder>(m2, "Placeholder");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment