mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
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:
parent
12bbfa710e
commit
9cd2c5d435
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user