Details
-
Technical task
-
Resolution: Done
-
P1: Critical
-
None
-
None
-
04549f68abb1393bc8e0e62579417adf985580b5 (qt/qtbase/dev)
Description
For the example in the main task, get rid of those candidates:
[build] /Users/vohi/qt/dev/build/qtbase/include/QtCore/../../../../qtbase/src/corelib/tools/qscopedpointer.h:176:13: note: candidate template ignored: could not match 'QScopedPointer<type-parameter-0-0, type-parameter-0-1>' against 'A' [build] inline bool operator==(const QScopedPointer<T, Cleanup> &lhs, const QScopedPointer<T, Cleanup> &rhs) noexcept [build] ^ [build] /Users/vohi/qt/dev/build/qtbase/include/QtCore/../../../../qtbase/src/corelib/tools/qscopedpointer.h:188:13: note: candidate template ignored: could not match 'QScopedPointer<type-parameter-0-0, type-parameter-0-1>' against 'A' [build] inline bool operator==(const QScopedPointer<T, Cleanup> &lhs, std::nullptr_t) noexcept [build] ^ [build] /Users/vohi/qt/dev/build/qtbase/include/QtCore/../../../../qtbase/src/corelib/tools/qscopedpointer.h:194:13: note: candidate template ignored: could not match 'QScopedPointer<type-parameter-0-0, type-parameter-0-1>' against 'B' [build] inline bool operator==(std::nullptr_t, const QScopedPointer<T, Cleanup> &rhs) noexcept