2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

plUUID operator< should return a bool.

This commit is contained in:
Darryl Pogue
2012-03-30 22:03:55 -07:00
parent bb200c5b30
commit 1fa981d09e

View File

@ -80,9 +80,16 @@ public:
void Read( hsStream * s );
void Write( hsStream * s );
operator plString ( void ) const { return AsString();}
bool operator==( const plUUID & other ) const { return IsEqualTo( &other ); }
bool operator!=( const plUUID & other ) const { return !IsEqualTo( &other ); }
int operator <( const plUUID & other ) const { return CompareTo( &other ); }
bool operator==(const plUUID& other) const {
return IsEqualTo(&other);
}
bool operator!=(const plUUID& other) const {
return !IsEqualTo(&other);
}
bool operator<(const plUUID& other) const {
return CompareTo(&other) == -1;
}
operator Uuid () const;
static plUUID Generate();