mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add CUtlString less function
Used for CUtlMap.
This commit is contained in:
parent
91a8ad7cfd
commit
e2bf1b7a99
@ -1502,4 +1502,12 @@ inline void CUtlStringBuilder::Validate(CValidator &validator, const char *pchNa
|
||||
#endif // DBGFLAG_VALIDATE
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Less function for use with CUtlMap and CUtlString keys
|
||||
//-----------------------------------------------------------------------------
|
||||
inline bool UtlStringLessFunc(const CUtlString& lhs, const CUtlString& rhs)
|
||||
{
|
||||
return (Q_stricmp(lhs, rhs) < 0);
|
||||
}
|
||||
|
||||
#endif // UTLSTRING_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user