aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2010-06-21 00:28:51 +0530
committerRaja R Harinath <harinath@hurrynot.org>2010-06-21 00:28:51 +0530
commite2ec9569986d22624a3e73d174b62c7b18a67380 (patch)
treeab5acb1fb584a4880798ff45e5f876da365d4541
parentc4d607628ba4b9f5a532900051f80f5fa1a01034 (diff)
downloadsvn2git-e2ec9569986d22624a3e73d174b62c7b18a67380.tar
svn2git-e2ec9569986d22624a3e73d174b62c7b18a67380.tar.gz
svn2git-e2ec9569986d22624a3e73d174b62c7b18a67380.tar.bz2
svn2git-e2ec9569986d22624a3e73d174b62c7b18a67380.tar.xz
svn2git-e2ec9569986d22624a3e73d174b62c7b18a67380.zip
Fix type error
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 1405d90..d0e1a60 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -166,7 +166,7 @@ void Repository::createBranch(const QString &branch, int revnum,
if (branchRevNum == brFrom.commits.last()) {
branchFromDesc = "from branch " + branchFrom.toUtf8();
} else {
- QVector<const int>::iterator it = qUpperBound(brFrom.commits, branchRevNum);
+ QVector<int>::const_iterator it = qUpperBound(brFrom.commits, branchRevNum);
closestCommit = it == brFrom.commits.begin() ? branchRevNum : *--it;
branchFromDesc = "from branch " + branchFrom.toUtf8() + " at r" + QByteArray::number(branchRevNum);
if (closestCommit != branchRevNum)