diff options
Diffstat (limited to 'opentrack-logic/work.hpp')
-rw-r--r-- | opentrack-logic/work.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opentrack-logic/work.hpp b/opentrack-logic/work.hpp index 2377be5a..37bc58bf 100644 --- a/opentrack-logic/work.hpp +++ b/opentrack-logic/work.hpp @@ -22,7 +22,7 @@ struct Work { - main_settings& s; + main_settings s; SelectedLibraries& libs; mem<Tracker> tracker; mem<Shortcuts> sc; @@ -31,9 +31,9 @@ struct Work using tt = std::tuple<key_opts&, fn, bool>; std::vector<tt> keys; - Work(main_settings& s, Mappings& m, SelectedLibraries& libs, WId handle) : - s(s), libs(libs), - tracker(std::make_shared<Tracker>(s, m, libs)), + Work(Mappings& m, SelectedLibraries& libs, WId handle) : + libs(libs), + tracker(std::make_shared<Tracker>(m, libs)), sc(std::make_shared<Shortcuts>()), handle(handle), keys { |