summaryrefslogtreecommitdiff
path: root/ui/grid_view.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
commitecb1524f8da7901338b263384fed3c612f117b4c (patch)
treee7e06423fe27ea5ab45f27fc4b39ae597ba72490 /ui/grid_view.cpp
parent5.10 (diff)
downloadFreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.gz
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.bz2
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.zip
5.11
Diffstat (limited to 'ui/grid_view.cpp')
-rw-r--r--ui/grid_view.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/grid_view.cpp b/ui/grid_view.cpp
index 31172319..dbaff5cd 100644
--- a/ui/grid_view.cpp
+++ b/ui/grid_view.cpp
@@ -97,14 +97,14 @@ void GridView::updateView(Predicate pred)
ptrdiff_t GridView::findRowDirect(FileSystemObject::ObjectIdConst objId) const
{
- auto iter = rowPositions.find(objId);
- return iter != rowPositions.end() ? iter->second : -1;
+ auto it = rowPositions.find(objId);
+ return it != rowPositions.end() ? it->second : -1;
}
ptrdiff_t GridView::findRowFirstChild(const HierarchyObject* hierObj) const
{
- auto iter = rowPositionsFirstChild.find(hierObj);
- return iter != rowPositionsFirstChild.end() ? iter->second : -1;
+ auto it = rowPositionsFirstChild.find(hierObj);
+ return it != rowPositionsFirstChild.end() ? it->second : -1;
}
@@ -344,8 +344,8 @@ void GridView::setData(FolderComparison& folderCmp)
!baseObj.getBaseDirPf<RIGHT_SIDE>().empty();
});
- for (auto iter = begin(folderCmp); iter != end(folderCmp); ++iter)
- SerializeHierarchy(sortedRef, iter - begin(folderCmp)).execute(*iter);
+ for (auto it = begin(folderCmp); it != end(folderCmp); ++it)
+ SerializeHierarchy(sortedRef, it - begin(folderCmp)).execute(*it);
}
bgstack15