https://bugs.kde.org/show_bug.cgi?id=375748
Bug ID: 375748 Summary: connect-non-signal: Internal error in connect to functor Product: clazy Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: dan...@pfeifer-mail.de CC: smart...@kde.org Target Milestone: --- The following code reproduces the error: class Foo: public QObject { Q_OBJECT public: Foo() { connect(this, &Foo::bar, []{}); } Q_SIGNALS: void bar(); }; The output is: [-Wclazy-connect-non-signal]: internal error: couldn't find method from pmf connect at /usr/include/qt/QtCore/qobject.h:293:5 -- You are receiving this mail because: You are watching all bug changes.