From ccdefb79573420faa935ece1491bb23859d743f9 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 12 Oct 2015 09:09:34 +1100 Subject: Implement Swap in SelectionRange to avoid warnings. --- src/Selection.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Selection.h') diff --git a/src/Selection.h b/src/Selection.h index 22c01beff..5ec5c5424 100644 --- a/src/Selection.h +++ b/src/Selection.h @@ -126,6 +126,7 @@ struct SelectionRange { SelectionPosition End() const { return (anchor < caret) ? caret : anchor; } + void Swap(); bool Trim(SelectionRange range); // If range is all virtual collapse to start of virtual space void MinimizeVirtualSpace(); -- cgit v1.2.3