Update to latest pybind11
[android/external-libkmsxx.git] / py / pykms / pykmsomap.cpp
index 2662a18a6f29c33cc16b03ccf803761a76d90be8..4fc7084e5ae2f6a05c9e0cb230fd89849e61ed85 100644 (file)
@@ -10,11 +10,11 @@ using namespace std;
 
 void init_pykmsomap(py::module &m)
 {
-       py::class_<OmapCard>(m, "OmapCard", py::base<Card>())
+       py::class_<OmapCard, Card>(m, "OmapCard")
                        .def(py::init<>())
                        ;
 
-       py::class_<OmapFramebuffer> omapfb(m, "OmapFramebuffer", py::base<Framebuffer>());
+       py::class_<OmapFramebuffer, Framebuffer> omapfb(m, "OmapFramebuffer");
 
        // XXX we should use py::arithmetic() here to support or and and operators, but it's not supported in the pybind11 we use
        py::enum_<OmapFramebuffer::Flags>(omapfb, "Flags")