summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/context.hh b/src/context.hh
index 846855a2..fca4ba06 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -28,10 +28,7 @@ struct JumpList
const SelectionList& backward(Context& context, int count);
void forget_buffer(Buffer& buffer);
- friend bool operator==(const JumpList& lhs, const JumpList& rhs)
- {
- return lhs.m_jumps == rhs.m_jumps and lhs.m_current == rhs.m_current;
- }
+ friend bool operator==(const JumpList& lhs, const JumpList& rhs) = default;
size_t current_index() const { return m_current; }