summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-27 05:37:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-27 05:37:23 +0200
commit4472ef37e5725da8331fc0b2ca4f436cbe73fd76 (patch)
tree4a60ea1cf0523573539cb5434dc4eb128769dd63 /gui
parent1fb5c05624152a4e082b1cb167c3a8418486a864 (diff)
gui: appease linter
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index 42c33c2f..f3330b24 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -183,7 +183,7 @@ int run_window(QApplication& app, std::unique_ptr<QWidget> main_window)
return status;
}
-int otr_main(int argc, char** argv, std::function<QWidget*()> make_main_window)
+int otr_main(int argc, char** argv, std::function<QWidget*()> const& make_main_window)
{
#if defined OTR_HAS_DENORM_CONTROL
set_fp_mask();