changeset 404:b64ca517a6b7

Removed stray ?auto? to make QVariant(false) compile. Bitbucket: Fixes #2.
author David Nadlinger <code@klickverbot.at>
date Thu, 17 Mar 2011 21:49:27 +0100
parents 8564ab82ea42
children 9d6e4703a458
files d2/qtd/QMetaTypeImpl.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/d2/qtd/QMetaTypeImpl.d	Thu Mar 17 19:46:11 2011 +0000
+++ b/d2/qtd/QMetaTypeImpl.d	Thu Mar 17 21:49:27 2011 +0100
@@ -31,7 +31,7 @@
 {
     static void* construct(void* copy)
     {
-        auto T* p = cast(T*)GC.malloc(T.sizeof);
+        T* p = cast(T*)GC.malloc(T.sizeof);
         if (!p)
             onOutOfMemoryError();