Code Cleanup

- Removed references to ::strcmp.  Thanks Fredde.
This commit is contained in:
Paul Beckingham 2009-06-24 21:55:44 -04:00
parent 5cb009bc0a
commit 5632c49945

View file

@ -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;
} }
} }