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 : 5a8182a5e1f2af57533ddff8848d7a772bf7eeb2
This commit is contained in:
Markus Stange 2018-02-27 22:41:35 -05:00
parent 12bbfa710e
commit 9cd2c5d435

View File

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