From fefff49d13f765c249a2419309ed16a8b425df66 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Jan 2018 03:01:59 +0100 Subject: many: get rid of trailing type specifiers --- logic/work.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'logic/work.cpp') 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(m, libs, ev, *logger)), sc(std::make_shared()), 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()) -- cgit v1.2.3