summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetatype_p.h
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-09-05 13:47:27 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-08 01:43:44 +0200
commit02176c538e7eb8527e6d079447e4e8194c63a231 (patch)
treeb01ae86e4a97b12e59bdf471dbad49523740cc95 /src/corelib/kernel/qmetatype_p.h
parentaca5c2b3c2aa46bbe2a3b8fe0e05103906ab3d48 (diff)
Fix warning about not enough actual parameters for macro.
QT_METATYPE_INTERFACE_INIT_EMPTY_DATASTREAM_IMPL ignores arguments anyway so it is not a problem to give a void type. Change-Id: I66109cc9ae43b48d5cacbd11bebe135a71e10ed7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qmetatype_p.h')
-rw-r--r--src/corelib/kernel/qmetatype_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmetatype_p.h b/src/corelib/kernel/qmetatype_p.h
index a2e6839f43..e566220c90 100644
--- a/src/corelib/kernel/qmetatype_p.h
+++ b/src/corelib/kernel/qmetatype_p.h
@@ -183,7 +183,7 @@ public:
{ \
/*creator*/ 0, \
/*deleter*/ 0, \
- QT_METATYPE_INTERFACE_INIT_EMPTY_DATASTREAM_IMPL() \
+ QT_METATYPE_INTERFACE_INIT_EMPTY_DATASTREAM_IMPL(void) \
/*constructor*/ 0, \
/*destructor*/ 0, \
/*size*/ 0, \