mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Inline plKey::operator==
This commit is contained in:
@ -204,16 +204,6 @@ plKey &plKey::operator=( const plKey &rhs )
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool plKey::operator==( const plKey &rhs ) const
|
||||
{
|
||||
return fKeyData == rhs.fKeyData;
|
||||
}
|
||||
|
||||
bool plKey::operator==( const plKeyData *rhs ) const
|
||||
{
|
||||
return fKeyData == rhs;
|
||||
}
|
||||
|
||||
plKeyData *plKey::operator->() const
|
||||
{
|
||||
return fKeyData;
|
||||
|
@ -67,8 +67,8 @@ public:
|
||||
~plKey();
|
||||
plKey& operator=(const plKey& rhs);
|
||||
|
||||
bool operator==(const plKey& rhs) const;
|
||||
bool operator==(const plKeyData* rhs) const;
|
||||
bool operator==(const plKey& rhs) const { return fKeyData == rhs.fKeyData; }
|
||||
bool operator==(const plKeyData* rhs) const { return fKeyData == rhs; }
|
||||
bool operator!=(const plKey& rhs) const { return !(*this == rhs); }
|
||||
bool operator!=(const plKeyData* rhs) const { return !(*this == rhs); }
|
||||
|
||||
|
Reference in New Issue
Block a user