[Pkg-owncloud-commits] [owncloud-client] 164/211: Utility: fix function signature

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 3840186dd8cfc816a4b4db137fd3acc1d1e6aa55
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Wed Oct 22 13:29:28 2014 +0200

    Utility:  fix function signature
---
 src/mirall/utility.cpp | 2 +-
 src/mirall/utility.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mirall/utility.cpp b/src/mirall/utility.cpp
index 7f89799..a477713 100644
--- a/src/mirall/utility.cpp
+++ b/src/mirall/utility.cpp
@@ -224,7 +224,7 @@ QString Utility::toCSyncScheme(const QString &urlStr)
     return url.toString();
 }
 
-bool Utility::doesSetContainPrefix(QSet<QString> &l, QString &p) {
+bool Utility::doesSetContainPrefix(const QSet<QString> &l, const QString &p) {
 
     Q_FOREACH (const QString &setPath, l) {
         //qDebug() << Q_FUNC_INFO << p << setPath << setPath.startsWith(p);
diff --git a/src/mirall/utility.h b/src/mirall/utility.h
index 8787422..ce4fa51 100644
--- a/src/mirall/utility.h
+++ b/src/mirall/utility.h
@@ -42,7 +42,7 @@ namespace Utility
     OWNCLOUDSYNC_EXPORT QString toCSyncScheme(const QString &urlStr);
     /** Like QLocale::toString(double, 'f', prec), but drops trailing zeros after the decimal point */
 
-    OWNCLOUDSYNC_EXPORT bool doesSetContainPrefix(QSet<QString> &l, QString &p);
+    OWNCLOUDSYNC_EXPORT bool doesSetContainPrefix(const QSet<QString> &l, const QString &p);
 
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list