diff options
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r-- | variant/default/main-window.hpp | 2 |
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> |