[Python] Apply GCC 4.3 warnings patch from Philipp Thomas (SF#1925122).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7b1cab1554
commit
b2375fd6e6
3 changed files with 8 additions and 2 deletions
|
|
@ -74,7 +74,9 @@ namespace swig {
|
|||
|
||||
PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
|
||||
{
|
||||
if (initial_ref) Py_XINCREF(_obj);
|
||||
if (initial_ref) {
|
||||
Py_XINCREF(_obj);
|
||||
}
|
||||
}
|
||||
|
||||
PyObject_ptr & operator=(const PyObject_ptr& item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue