Fix build with clang
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 26 Feb 2013 11:49:38 +0000 (12:49 +0100)
committerLars Knoll <lars.knoll@digia.com>
Tue, 26 Feb 2013 22:44:07 +0000 (23:44 +0100)
It tells us quite explicitly how it wants a default constructor
for VoidType :)

Change-Id: I854370c869f179da7f842fbf675e05678285630d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/v4/qv4isel_masm_p.h

index 79b08c9..28d5dca 100644 (file)
@@ -181,7 +181,7 @@ public:
         {}
     };
 
-    struct VoidType {};
+    struct VoidType { VoidType() {} };
     static const VoidType Void;