mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 20:37:31 +09:00
parent
0a50553673
commit
8358e22731
1 changed files with 73 additions and 19 deletions
|
|
@ -857,24 +857,42 @@ class nsLineList_iterator {
|
||||||
return --copy;
|
return --copy;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Passing by value rather than by reference and reference to const
|
bool operator==(const iterator_self_type& aOther) const
|
||||||
// to keep AIX happy.
|
|
||||||
bool operator==(const iterator_self_type aOther) const
|
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent == aOther.mCurrent;
|
return mCurrent == aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator!=(const iterator_self_type aOther) const
|
bool operator!=(const iterator_self_type& aOther) const
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent != aOther.mCurrent;
|
return mCurrent != aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator==(const iterator_self_type aOther)
|
bool operator==(const iterator_self_type& aOther)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent == aOther.mCurrent;
|
return mCurrent == aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator!=(const iterator_self_type aOther)
|
bool operator!=(const iterator_self_type& aOther)
|
||||||
|
{
|
||||||
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent != aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator==(iterator_self_type& aOther) const
|
||||||
|
{
|
||||||
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent == aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator!=(iterator_self_type& aOther) const
|
||||||
|
{
|
||||||
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent != aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator==(iterator_self_type& aOther)
|
||||||
|
{
|
||||||
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent == aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator!=(iterator_self_type& aOther)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
MOZ_ASSERT(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent != aOther.mCurrent;
|
return mCurrent != aOther.mCurrent;
|
||||||
|
|
@ -992,24 +1010,42 @@ class nsLineList_reverse_iterator {
|
||||||
}
|
}
|
||||||
#endif /* !__MWERKS__ */
|
#endif /* !__MWERKS__ */
|
||||||
|
|
||||||
// Passing by value rather than by reference and reference to const
|
bool operator==(const iterator_self_type& aOther) const
|
||||||
// to keep AIX happy.
|
|
||||||
bool operator==(const iterator_self_type aOther) const
|
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent == aOther.mCurrent;
|
return mCurrent == aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator!=(const iterator_self_type aOther) const
|
bool operator!=(const iterator_self_type& aOther) const
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent != aOther.mCurrent;
|
return mCurrent != aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator==(const iterator_self_type aOther)
|
bool operator==(const iterator_self_type& aOther)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent == aOther.mCurrent;
|
return mCurrent == aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator!=(const iterator_self_type aOther)
|
bool operator!=(const iterator_self_type& aOther)
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent != aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator==(iterator_self_type& aOther) const
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent == aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator!=(iterator_self_type& aOther) const
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent != aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator==(iterator_self_type& aOther)
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent == aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator!=(iterator_self_type& aOther)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent != aOther.mCurrent;
|
return mCurrent != aOther.mCurrent;
|
||||||
|
|
@ -1126,24 +1162,42 @@ class nsLineList_const_iterator {
|
||||||
return --copy;
|
return --copy;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Passing by value rather than by reference and reference to const
|
bool operator==(const iterator_self_type& aOther) const
|
||||||
// to keep AIX happy.
|
|
||||||
bool operator==(const iterator_self_type aOther) const
|
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent == aOther.mCurrent;
|
return mCurrent == aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator!=(const iterator_self_type aOther) const
|
bool operator!=(const iterator_self_type& aOther) const
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent != aOther.mCurrent;
|
return mCurrent != aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator==(const iterator_self_type aOther)
|
bool operator==(const iterator_self_type& aOther)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent == aOther.mCurrent;
|
return mCurrent == aOther.mCurrent;
|
||||||
}
|
}
|
||||||
bool operator!=(const iterator_self_type aOther)
|
bool operator!=(const iterator_self_type& aOther)
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent != aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator==(iterator_self_type& aOther) const
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent == aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator!=(iterator_self_type& aOther) const
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent != aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator==(iterator_self_type& aOther)
|
||||||
|
{
|
||||||
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
|
return mCurrent == aOther.mCurrent;
|
||||||
|
}
|
||||||
|
bool operator!=(iterator_self_type& aOther)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
NS_ASSERTION(mListLink == aOther.mListLink, "comparing iterators over different lists");
|
||||||
return mCurrent != aOther.mCurrent;
|
return mCurrent != aOther.mCurrent;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue