minor formatting fix

This commit is contained in:
Wenzel Jakob 2016-07-01 14:54:24 +02:00
parent d7e208c740
commit fb0e2e5dac
1 changed files with 4 additions and 4 deletions

View File

@ -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");