summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-05 08:40:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-13 07:02:53 +0200
commit3568f283442d9f4f18141f532ddef156e045f370 (patch)
tree9cb8c5366917a96ef81e6a3e5792bf4456671bec /variant/default/main-window.hpp
parent200d21d6408494ca68b8e474278cf023734ef413 (diff)
opentrack: fix some Clazy warnings
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r--variant/default/main-window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp
index bc38c517..0e3d8257 100644
--- a/variant/default/main-window.hpp
+++ b/variant/default/main-window.hpp
@@ -102,7 +102,7 @@ class main_window : public QMainWindow, private State
// only use in impl file since no definition in header!
template<typename t>
- bool mk_dialog(std::shared_ptr<dylib> lib, std::unique_ptr<t>& d);
+ bool mk_dialog(const std::shared_ptr<dylib>& lib, std::unique_ptr<t>& d);
// idem
template<typename t, typename... Args>