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

@@ -8,8 +8,8 @@
class PycString : public PycObject {
public:
PycString(int type = TYPE_STRING)
: PycObject(type) { }
PycString(int _type = TYPE_STRING)
: PycObject(_type) { }
bool isEqual(PycRef<PycObject> obj) const override;
bool isEqual(const std::string& str) const { return m_value == str; }