Browse Source

plUUID operator< should return a bool.

Darryl Pogue 13 years ago
parent
commit
1fa981d09e
  1. 13
      Sources/Plasma/NucleusLib/pnUUID/pnUUID.h

13
Sources/Plasma/NucleusLib/pnUUID/pnUUID.h

@ -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();

Loading…
Cancel
Save