diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-02-02 17:19:25 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-02-02 17:19:25 +0100 |
| commit | b2a1af65654e4584d6b54c5d4e12175ff0dffad9 (patch) | |
| tree | 9eeceac339bd99486b2603c0f83dc7be79d7b5d2 /python/acquire.cc | |
| parent | eda5f5556f353c2403f846d74104d000c00aff90 (diff) | |
| download | python-apt-b2a1af65654e4584d6b54c5d4e12175ff0dffad9.tar.gz | |
Remove inline functions from the C++ API, export them instead (part 2).
Diffstat (limited to 'python/acquire.cc')
| -rw-r--r-- | python/acquire.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/acquire.cc b/python/acquire.cc index cd7f7709..04e00b02 100644 --- a/python/acquire.cc +++ b/python/acquire.cc @@ -255,7 +255,7 @@ static PyObject *PkgAcquireGetWorkers(PyObject *self, void *closure) { PyObject *List = PyList_New(0); pkgAcquire *Owner = GetCpp<pkgAcquire*>(self); - CppPyObject<pkgAcquire::Worker*> *PyWorker = NULL; + PyObject *PyWorker = NULL; for (pkgAcquire::Worker *Worker = Owner->WorkersBegin(); Worker != 0; Worker = Owner->WorkerStep(Worker)) { PyWorker = PyAcquireWorker_FromCpp(Worker, false, self); |
