Fix compiler warning.
authorErik Verbruggen <erik.verbruggen@me.com>
Thu, 17 Jan 2013 21:10:35 +0000 (22:10 +0100)
committerLars Knoll <lars.knoll@digia.com>
Sun, 20 Jan 2013 14:50:07 +0000 (15:50 +0100)
The usual class v.s. struct forward decls. Only fatal on Windows, not on
any other platform.

Change-Id: I902dd82b196663fc66e3bd914002a2961668455f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
qv4array.h

index d055923..ead2f34 100644 (file)
@@ -361,7 +361,7 @@ inline SparseArrayNode *SparseArray::upperBound(uint akey)
 
 class Array
 {
-    friend class ArrayPrototype;
+    friend struct ArrayPrototype;
 
     uint len;
     PropertyDescriptor *lengthProperty;