From fe84167434b767a172e5277ad4de260bb915a2a4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 May 2018 21:42:40 +0200 Subject: gui: fix link error due to differing prototype Reported-by: Artem Sobolev --- gui/init.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/init.hpp') diff --git a/gui/init.hpp b/gui/init.hpp index 1142ff24..7c437bcb 100644 --- a/gui/init.hpp +++ b/gui/init.hpp @@ -5,7 +5,7 @@ #include #include -int OTR_GUI_EXPORT otr_main(int argc, char** argv, std::function make_main_window); +OTR_GUI_EXPORT int otr_main(int argc, char** argv, std::function const& make_main_window); // XXX TODO need split MainWindow into mixins each implementing part of the functionality -- cgit v1.2.3