diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-24 20:04:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-24 20:04:14 +0100 |
commit | 79aa5c60b38da8403ec2550247143c8f4b45d323 (patch) | |
tree | a8e1d29657ebc48509afaef8c979c43437a81c0d /variant | |
parent | 21ce1398513a085d44ef89a9250541769ad11e46 (diff) |
gui, opentrack: simplify std::function/unique_ptr usage
Reported by: ElDesalmado
Diffstat (limited to 'variant')
-rw-r--r-- | variant/default/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main.cpp b/variant/default/main.cpp index 0038583b..2c1dc607 100644 --- a/variant/default/main.cpp +++ b/variant/default/main.cpp @@ -11,7 +11,7 @@ int main(int argc, char** argv) { - return run_application(argc, argv, [] { return new main_window; }); + return run_application(argc, argv, [] { return std::make_unique<main_window>(); }); } #if defined _MSC_VER |