summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-04-02 22:33:52 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-04-02 22:33:52 +0100
commite1a9d5f71e486f1c5f21e3a416ad57c6e5c9141d (patch)
tree844e64cd748031c444225f25aa00d9119b8a3cc5 /src/buffer.cc
parent84c30c4b8ace21612149f12db73c5e29c383e83c (diff)
Fix clang compilation
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.cc b/src/buffer.cc
index e6d8c1db..47c523d3 100644
--- a/src/buffer.cc
+++ b/src/buffer.cc
@@ -711,7 +711,7 @@ void Buffer::on_option_changed(const Option& option)
void Buffer::run_hook_in_own_context(const String& hook_name, const String& param)
{
- InputHandler hook_handler(*this, SelectionList{ {} });
+ InputHandler hook_handler(*this, { Selection{} });
m_hooks.run_hook(hook_name, param, hook_handler.context());
}