summaryrefslogtreecommitdiff
path: root/python/indexrecords.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-01-27 15:11:39 +0100
committerJulian Andres Klode <jak@debian.org>2010-01-27 15:11:39 +0100
commitd24964f86e1108f88d55a9580bbd6d2e482562dd (patch)
tree1b039b234a05daf80432bf7576f3ddddd2c5533a /python/indexrecords.cc
parent2bb149489844096c55e9e90379795930171a6f73 (diff)
downloadpython-apt-d24964f86e1108f88d55a9580bbd6d2e482562dd.tar.gz
Merge the CppOwnedPyObject C++ class into CppPyObject.
Diffstat (limited to 'python/indexrecords.cc')
-rw-r--r--python/indexrecords.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/indexrecords.cc b/python/indexrecords.cc
index 2d21362d..5750bf6b 100644
--- a/python/indexrecords.cc
+++ b/python/indexrecords.cc
@@ -30,7 +30,7 @@ static PyObject *indexrecords_new(PyTypeObject *type,PyObject *Args,
if (PyArg_ParseTupleAndKeywords(Args, kwds, "", kwlist) == 0)
return 0;
indexRecords *records = new indexRecords();
- CppPyObject<indexRecords*> *New = CppPyObject_NEW<indexRecords*>(type,
+ CppPyObject<indexRecords*> *New = CppPyObject_NEW<indexRecords*>(NULL, type,
records);
return New;
}