new loplugin:unuseddefaultparams
Change-Id: I2c3e7d66be9e3883ea2801ff394948cc580d1e44
This commit is contained in:
@@ -47,17 +47,16 @@ struct MyFieldInfo
|
||||
std::string fieldName;
|
||||
std::string fieldType;
|
||||
std::string sourceLocation;
|
||||
|
||||
bool operator < (const MyFieldInfo &other) const
|
||||
{
|
||||
if (parentClass < other.parentClass)
|
||||
return true;
|
||||
else if (parentClass == other.parentClass)
|
||||
return fieldName < other.fieldName;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
};
|
||||
bool operator < (const MyFieldInfo &lhs, const MyFieldInfo &rhs)
|
||||
{
|
||||
if (lhs.parentClass < rhs.parentClass)
|
||||
return true;
|
||||
else if (lhs.parentClass == rhs.parentClass)
|
||||
return lhs.fieldName < rhs.fieldName;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// try to limit the voluminous output a little
|
||||
|
Reference in New Issue
Block a user