summaryrefslogtreecommitdiff
path: root/src/editor.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-12-13 09:11:48 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-12-14 14:38:17 +0000
commitf53ba0baede2aade92b4267f416bf1a4965064f6 (patch)
tree55b2656d1122ef5f47ec9eaf0fd0d75c296095e7 /src/editor.hh
parentdb048a079267ecea1c0aff5080a027afed16ae46 (diff)
MultiSelectors takes a reference to the current selection and mutate it
Diffstat (limited to 'src/editor.hh')
-rw-r--r--src/editor.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.hh b/src/editor.hh
index be832da3..8e04b153 100644
--- a/src/editor.hh
+++ b/src/editor.hh
@@ -40,7 +40,7 @@ class Editor : public SafeCountable
{
public:
typedef std::function<Selection (const Buffer&, const Selection&)> Selector;
- typedef std::function<SelectionList (const Buffer&, SelectionList)> MultiSelector;
+ typedef std::function<void (const Buffer&, SelectionList&)> MultiSelector;
Editor(Buffer& buffer);
virtual ~Editor() {}