diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-22 15:11:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-22 15:11:28 +0200 |
commit | 8658c2ff987c0656b9b87d966ad1bee8311f7ee4 (patch) | |
tree | f9f4e19a310eb0080698aabe85b1c39ff7f63b38 | |
parent | 00367760ac7e059a3cd9ba4baec11ad0a074771c (diff) |
whitespace onlyopentrack-2.3-prealpha-20141022_1
-rw-r--r-- | opentrack/work.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opentrack/work.hpp b/opentrack/work.hpp index d0130018..510232db 100644 --- a/opentrack/work.hpp +++ b/opentrack/work.hpp @@ -16,7 +16,7 @@ struct Work ptr<Tracker> tracker; ptr<Shortcuts> sc; WId handle; - + Work(main_settings& s, Mappings& m, SelectedLibraries& libs, QObject* recv, WId handle) : s(s), libs(libs), tracker(std::make_shared<Tracker>(s, m, libs)), @@ -32,16 +32,16 @@ struct Work #endif tracker->start(); } - + void reload_shortcuts() { sc->reload(); } - + ~Work() { // order matters, otherwise use-after-free -sh tracker = nullptr; libs = SelectedLibraries(); - } + } }; |