Code Cleanup
- Removed references to ::strcmp. Thanks Fredde.
This commit is contained in:
@@ -571,7 +571,7 @@ bool Att::match (const Att& other) const
|
|||||||
}
|
}
|
||||||
else if (which == "text")
|
else if (which == "text")
|
||||||
{
|
{
|
||||||
if (::strcmp (mValue.c_str (), other.mValue.c_str ()) <= 0)
|
if (mValue <= other.mValue)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -601,7 +601,7 @@ bool Att::match (const Att& other) const
|
|||||||
}
|
}
|
||||||
else if (which == "text")
|
else if (which == "text")
|
||||||
{
|
{
|
||||||
if (::strcmp (mValue.c_str (), other.mValue.c_str ()) >= 0)
|
if (mValue >= other.mValue)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user