summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-12-23 02:31:03 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-12-23 02:31:03 +0000
commitaa92ca96c85bb00a9c0defd86278953e489f3bf8 (patch)
tree83ee7949654a9126505f4caeb10947a278773d04 /src/context.hh
parent411e5a948621ea12d64495c419885f933335e9ec (diff)
Use an index for jump list current rather than an iterator
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.hh b/src/context.hh
index 7ed1442c..91307c8c 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -61,7 +61,7 @@ struct JumpList
private:
using Contents = Vector<SelectionList, MemoryDomain::Selections>;
Contents m_jumps;
- Contents::iterator m_current = m_jumps.begin();
+ size_t m_current = 0;
};
// A Context is used to access non singleton objects for various services