From ebfe02d5cd4e04d0df471669190e4feb1e2e493c Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sun, 22 May 2016 15:42:14 +0300 Subject: Cleanup AtomicReq::commit --- py/pykms.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'py') diff --git a/py/pykms.cpp b/py/pykms.cpp index 7e42e4f..c31d5ce 100644 --- a/py/pykms.cpp +++ b/py/pykms.cpp @@ -127,8 +127,7 @@ PYBIND11_PLUGIN(pykms) { py::keep_alive<1, 2>()) // Keep Card alive until this is destructed .def("add", (void (AtomicReq::*)(DrmObject*, const string&, uint64_t)) &AtomicReq::add) .def("test", &AtomicReq::test) - .def("commit", (int (AtomicReq::*)()) &AtomicReq::commit) - .def("commit", (int (AtomicReq::*)(void*)) &AtomicReq::commit) + .def("commit", &AtomicReq::commit) .def("commit_sync", &AtomicReq::commit_sync) ; -- cgit v1.2.3