qtmobility/src/publishsubscribe/psmapperserver_symbian/pathmapper_symbian.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/src/publishsubscribe/psmapperserver_symbian/pathmapper_symbian.cpp	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/src/publishsubscribe/psmapperserver_symbian/pathmapper_symbian.cpp	Wed Jun 23 19:08:38 2010 +0300
@@ -130,7 +130,7 @@
     QString basePath = path;
     if (basePath.right(1) != QString(QLatin1Char('/')))
         basePath += QLatin1Char('/');
-    foreach (const QString foundPath, childPaths(basePath)) {
+    foreach (const QString &foundPath, childPaths(basePath)) {
         QString value = foundPath.mid(basePath.size());
         int index = value.indexOf(QLatin1Char('/'));
         if (index != -1)