summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-07 11:50:46 +0200
committerKent Hansen <khansen@trolltech.com>2009-08-07 11:58:25 +0200
commit990134fe04fd31b24f33175bd261dfe6b14c3161 (patch)
tree49e3cf11022c4e3ff0db8a4a62ac8c3fc7e5954c
parent21b47ee2aafe41f1c04a964687f7d66546f38f34 (diff)
fix compiler warning
*/* is slightly ambigious for the compiler, and depends on the preceding code. MSVC warns about it.
-rw-r--r--generator/classgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/classgenerator.cpp b/generator/classgenerator.cpp
index ea2de78..10cc32f 100644
--- a/generator/classgenerator.cpp
+++ b/generator/classgenerator.cpp
@@ -567,7 +567,7 @@ static bool isSpecialStreamingOperator(const AbstractMetaFunction *fun)
operator<<() to read/write an instance of meta_class.
*/
static void writeStreamingOperatorCall(QTextStream &stream, const AbstractMetaFunction *fun,
- const AbstractMetaClass */*meta_class*/, int indent)
+ const AbstractMetaClass * /*meta_class*/, int indent)
{
QString indentStr(indent, QLatin1Char(' '));
QString streamClassName = fun->arguments().at(0)->type()->name();