diff --git a/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.cpp b/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.cpp index 9f40017b..aced44a0 100644 --- a/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.cpp +++ b/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.cpp @@ -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; diff --git a/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.h b/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.h index 26bc2a0b..ced49d31 100644 --- a/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.h +++ b/Sources/Plasma/NucleusLib/pnKeyedObject/plKey.h @@ -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); }