summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--logic/shortcuts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/shortcuts.h b/logic/shortcuts.h
index 2e630782..6f69aba9 100644
--- a/logic/shortcuts.h
+++ b/logic/shortcuts.h
@@ -50,7 +50,7 @@ public:
using t_keys = std::vector<t_key>;
std::vector<tt> keys;
#ifdef _WIN32
- KeybindingWorker::Token key_token = [this](const Key& k) { receiver(k); };
+ KeybindingWorker::Token key_token {[this](const Key& k) { receiver(k); }};
#endif
Shortcuts() {}