mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Remove nsVoidArray:: from method defs
This commit is contained in:
parent
072f6676ee
commit
af94a3aa23
@ -72,7 +72,7 @@ public:
|
|||||||
return mImpl ? PRInt32(mImpl->mBits & kArraySizeMask) : 0;
|
return mImpl ? PRInt32(mImpl->mBits & kArraySizeMask) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void* nsVoidArray::ElementAt(PRInt32 aIndex) const
|
void* ElementAt(PRInt32 aIndex) const
|
||||||
{
|
{
|
||||||
NS_ASSERTION(aIndex >= 0,"nsVoidArray::ElementAt(negative index) - note on bug 96108");
|
NS_ASSERTION(aIndex >= 0,"nsVoidArray::ElementAt(negative index) - note on bug 96108");
|
||||||
NS_ASSERTION(aIndex < Count(),"nsVoidArray::ElementAt(index past end array) - note on bug 96108");
|
NS_ASSERTION(aIndex < Count(),"nsVoidArray::ElementAt(index past end array) - note on bug 96108");
|
||||||
@ -87,7 +87,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// bounds-checked version
|
// bounds-checked version
|
||||||
void* nsVoidArray::SafeElementAt(PRInt32 aIndex) const
|
void* SafeElementAt(PRInt32 aIndex) const
|
||||||
{
|
{
|
||||||
if (aIndex < 0 || aIndex >= Count())
|
if (aIndex < 0 || aIndex >= Count())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user