Prefer the parameters be renamed and this warning (-Wshadow) kept to make GCC happy
This commit is contained in:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user