summaryrefslogtreecommitdiff
path: root/src/context.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-05-27 19:23:59 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-05-29 18:56:14 +0200
commit6cb8d69d29c77c01d92f8adb63e574f7f8d512a4 (patch)
tree856838456a3812b1ae1a31692f5988a94951053b /src/context.cc
parent9630990b748cacdf8721874b30cb36e086ea34a6 (diff)
Context: return DynamicSelectionLists in jump_{forward,backward}
Diffstat (limited to 'src/context.cc')
-rw-r--r--src/context.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.cc b/src/context.cc
index 30c56e20..ed01e1c6 100644
--- a/src/context.cc
+++ b/src/context.cc
@@ -98,7 +98,7 @@ void Context::push_jump()
m_current_jump = m_jump_list.end();
}
-const SelectionList& Context::jump_forward()
+const DynamicSelectionList& Context::jump_forward()
{
if (m_current_jump != m_jump_list.end() and
m_current_jump + 1 != m_jump_list.end())
@@ -106,7 +106,7 @@ const SelectionList& Context::jump_forward()
throw runtime_error("no next jump");
}
-const SelectionList& Context::jump_backward()
+const DynamicSelectionList& Context::jump_backward()
{
if (m_current_jump != m_jump_list.begin())
{