Prefer the parameters be renamed and this warning (-Wshadow) kept to make GCC happy

This commit is contained in:
Alex
2024-03-11 22:24:40 +02:00
parent f80b662f77
commit 28fdb904a0
7 changed files with 114 additions and 114 deletions

View File

@@ -129,7 +129,7 @@ public:
TYPE_SHORT_ASCII_INTERNED = 'Z', // Python 3.4 ->
};
PycObject(int type = TYPE_UNKNOWN) : m_refs(0), m_type(type) { }
PycObject(int _type = TYPE_UNKNOWN) : m_refs(0), m_type(_type) { }
virtual ~PycObject() { }
int type() const { return m_type; }