[clazy] [Bug 392441] New: internal error with QOverload <>::of
Richard
bugzilla_noreply at kde.org
Wed Mar 28 09:59:40 BST 2018
https://bugs.kde.org/show_bug.cgi?id=392441
Bug ID: 392441
Summary: internal error with QOverload <>::of
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: richard.oehlinger at adbsafegate.com
CC: smartins at kde.org
Target Milestone: ---
clazy issues an error when used with QOverload template, which is needed for
C++11 only code.
It works with the qOverload template function (see bug374951), but this
requires C++14.
Example Code:
connect(m_combo, QOverload<const QString
&>::of(&QComboBox::currentIndexChanged), this, &MyObj::mySlot);
Error:
[-Wclazy-connect-non-signal]: internal error: couldn't find method from pmf
connect
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list