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:50:46 +0200
commitbf9f1c38fa635a3a3e04604235d2c7c5e51d30f1 (patch)
tree6ef869b0a120d8ef588b69a4916e7735583101df
parentd4ebd66dff9ceb845ae1ed7845b48cd87b19385b (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();