From a4917d0e8dda55779877967c424755df88a153b0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 14 May 2017 20:04:33 +0200 Subject: options/tie: appease llvm for some reason can't put a parameter pack after an optional argument. go figure. --- options/tie.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/tie.hpp') diff --git a/options/tie.hpp b/options/tie.hpp index 94fe5d49..16bf51d4 100644 --- a/options/tie.hpp +++ b/options/tie.hpp @@ -65,7 +65,7 @@ void tie_setting(value& v, QLabel* lb, const QString& format, const xs&... ar template decltype((void)((std::declval())(std::declval()))) -tie_setting(value& v, QLabel* lb, F&& fun, const QString& fmt = QStringLiteral("%1"), const xs&... args) +tie_setting(value& v, QLabel* lb, F&& fun, const QString& fmt, const xs&... args) { auto closure = [=](const t& x) { lb->setText(fmt.arg(fun(x), args...)); }; -- cgit v1.2.3