This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch feature/cleanup in repository x2goclient. commit a8a376f47b6bb0365de0933c246bc29ccef51607 Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Feb 14 23:28:35 2015 +0100 x2goutils.cpp: use constBegin() and constEnd() instead of begin/end... --- src/x2goutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp index 8ddad3b..36ffac9 100644 --- a/src/x2goutils.cpp +++ b/src/x2goutils.cpp @@ -42,8 +42,8 @@ QString wrap_legacy_resources (const QString res_path) { bool detected = false; /* This would be so much easier with C++ and lambdas... */ - QString::const_iterator it = legacy_locations.begin (); - while (it != legacy_locations.end ()) { + QString::const_iterator it = legacy_locations.constBegin (); + while (it != legacy_locations.constEnd ()) { if (res_path.startsWith (*(it++))) { detected = true; break; -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git