summaryrefslogtreecommitdiffhomepage
path: root/logic/work.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:01:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:37:40 +0100
commitfefff49d13f765c249a2419309ed16a8b425df66 (patch)
tree5133e2cf3de37b59614ccb1ffea7338d23ffea8a /logic/work.cpp
parent43dcfd6806e171955c21d18433350c4158b27faf (diff)
many: get rid of trailing type specifiers
Diffstat (limited to 'logic/work.cpp')
-rw-r--r--logic/work.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/logic/work.cpp b/logic/work.cpp
index 07691535..a2d06245 100644
--- a/logic/work.cpp
+++ b/logic/work.cpp
@@ -65,20 +65,20 @@ Work::Work(Mappings& m, event_handler& ev, QFrame* frame, std::shared_ptr<dylib
tracker(std::make_shared<pipeline>(m, libs, ev, *logger)),
sc(std::make_shared<Shortcuts>()),
keys {
- key_tuple(s.key_center1, [&](bool) -> void { tracker->center(); }, true),
- key_tuple(s.key_center2, [&](bool) -> void { tracker->center(); }, true),
+ key_tuple(s.key_center1, [&](bool) { tracker->center(); }, true),
+ key_tuple(s.key_center2, [&](bool) { tracker->center(); }, true),
- key_tuple(s.key_toggle1, [&](bool) -> void { tracker->toggle_enabled(); }, true),
- key_tuple(s.key_toggle2, [&](bool) -> void { tracker->toggle_enabled(); }, true),
+ key_tuple(s.key_toggle1, [&](bool) { tracker->toggle_enabled(); }, true),
+ key_tuple(s.key_toggle2, [&](bool) { tracker->toggle_enabled(); }, true),
- key_tuple(s.key_zero1, [&](bool) -> void { tracker->zero(); }, true),
- key_tuple(s.key_zero2, [&](bool) -> void { tracker->zero(); }, true),
+ key_tuple(s.key_zero1, [&](bool) { tracker->zero(); }, true),
+ key_tuple(s.key_zero2, [&](bool) { tracker->zero(); }, true),
- key_tuple(s.key_toggle_press1, [&](bool x) -> void { tracker->set_toggle(!x); }, false),
- key_tuple(s.key_toggle_press2, [&](bool x) -> void { tracker->set_toggle(!x); }, false),
+ key_tuple(s.key_toggle_press1, [&](bool x) { tracker->set_toggle(!x); }, false),
+ key_tuple(s.key_toggle_press2, [&](bool x) { tracker->set_toggle(!x); }, false),
- key_tuple(s.key_zero_press1, [&](bool x) -> void { tracker->set_zero(x); }, false),
- key_tuple(s.key_zero_press2, [&](bool x) -> void { tracker->set_zero(x); }, false),
+ key_tuple(s.key_zero_press1, [&](bool x) { tracker->set_zero(x); }, false),
+ key_tuple(s.key_zero_press2, [&](bool x) { tracker->set_zero(x); }, false),
}
{
if (!is_ok())