diff --git a/xpcom/ds/nsVoidArray.cpp b/xpcom/ds/nsVoidArray.cpp index bce13b7773a4..64ca45c9bb13 100644 --- a/xpcom/ds/nsVoidArray.cpp +++ b/xpcom/ds/nsVoidArray.cpp @@ -349,7 +349,7 @@ nsVoidArray::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const } } -inline void* nsVoidArray::ElementAt(PRInt32 aIndex) const +void* nsVoidArray::ElementAt(PRInt32 aIndex) const { if (aIndex < 0 || aIndex >= Count()) {