зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1429904 - Remove unused operator< from StackKey and FrameKey. r=njn
nsGenericHashKey never calls this operator, as far as I can tell. MozReview-Commit-ID: NDybMI8DOA --HG-- extra : rebase_source : 933c12e2ef4600ea33b6c7026f539e51447fc454
This commit is contained in:
Родитель
a7cdb8e062
Коммит
fa1dbb7812
|
@ -203,9 +203,6 @@ public:
|
|||
|
||||
uint32_t Hash() const;
|
||||
bool operator==(const FrameKey& aOther) const;
|
||||
bool operator<(const FrameKey& aOther) const {
|
||||
return mHash < aOther.mHash;
|
||||
}
|
||||
|
||||
private:
|
||||
uint32_t mHash;
|
||||
|
@ -233,10 +230,6 @@ public:
|
|||
return mPrefixStackIndex == aOther.mPrefixStackIndex &&
|
||||
mFrameIndex == aOther.mFrameIndex;
|
||||
}
|
||||
bool operator<(const StackKey& aOther) const
|
||||
{
|
||||
return mHash < aOther.mHash;
|
||||
}
|
||||
|
||||
private:
|
||||
uint32_t mHash;
|
||||
|
|
Загрузка…
Ссылка в новой задаче