Fix Build
authorAndreas Holzammer <andreas.holzammer.qnx@kdab.com>
Fri, 20 Apr 2012 08:03:25 +0000 (10:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 20 Apr 2012 08:39:39 +0000 (10:39 +0200)
isspace is in std namespace.

Change-Id: Idc5f09c5c60df874fac9c91bb3a3538f4bea0998
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/linguist/lupdate/qdeclarative.cpp

index 62966d8..c601b78 100644 (file)
@@ -364,7 +364,7 @@ void FindTrCalls::processComment(const AST::SourceLocation &loc)
             if (p >= length)
                 break;
             c = chars[p++].unicode();
-            if (isspace(c))
+            if (std::isspace(c))
                 continue;
             if (c != '"') {
                 yyMsg(loc.startLine) << qPrintable(LU::tr("Unexpected character in meta string\n"));