This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch feature/cleanup in repository x2goclient. commit 48acf77ff57330954dbd418f44b0c6246130ee1b Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Feb 14 23:45:32 2015 +0100 x2goutils.cpp: actually use the correct iterator types and functions. --- src/x2goutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp index 36ffac9..d1ad13d 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.constBegin (); - while (it != legacy_locations.constEnd ()) { + std::vector<QString>::const_iterator it = legacy_locations.begin (); + while (it != legacy_locations.end ()) { if (res_path.startsWith (*(it++))) { detected = true; break; -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git