Kaydet (Commit) 21b5706f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: declaration of 'str' shadows a member of 'this'

Change-Id: Ibbbe331421434e15c4659b5c566dadecf441dff8
üst bed5557e
......@@ -73,4 +73,20 @@
::std::string str() const { return ::std::string(m_pos, m_size); }
@@ -110,11 +110,11 @@
bool operator< (const pstring& r) const;
- bool operator== (const char* str) const;
+ bool operator== (const char* str_) const;
- bool operator!= (const char* str) const
+ bool operator!= (const char* str_) const
{
- return !operator==(str);
+ return !operator==(str_);
}
pstring trim() const;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment