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:
@ -80,9 +80,16 @@ public:
|
|||||||
void Read( hsStream * s );
|
void Read( hsStream * s );
|
||||||
void Write( hsStream * s );
|
void Write( hsStream * s );
|
||||||
operator plString ( void ) const { return AsString();}
|
operator plString ( void ) const { return AsString();}
|
||||||
bool operator==( const plUUID & other ) const { return IsEqualTo( &other ); }
|
|
||||||
bool operator!=( const plUUID & other ) const { return !IsEqualTo( &other ); }
|
bool operator==(const plUUID& other) const {
|
||||||
int operator <( const plUUID & other ) const { return CompareTo( &other ); }
|
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;
|
operator Uuid () const;
|
||||||
|
|
||||||
static plUUID Generate();
|
static plUUID Generate();
|
||||||
|
Reference in New Issue
Block a user