Disable copy and move for QPropertyObserverNodeProtector
It's not intended to be copied or moved and static analysis complains. Change-Id: I2ac2eccadb66ea572cf297f16af693b15553a1b9 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
378ff29b29
commit
2e81e445f2
@ -97,7 +97,10 @@ struct Q_AUTOTEST_EXPORT QPropertyBindingDataPointer
|
||||
}
|
||||
};
|
||||
|
||||
struct [[nodiscard]] QPropertyObserverNodeProtector {
|
||||
struct [[nodiscard]] QPropertyObserverNodeProtector
|
||||
{
|
||||
Q_DISABLE_COPY_MOVE(QPropertyObserverNodeProtector)
|
||||
|
||||
QPropertyObserverBase m_placeHolder;
|
||||
QPropertyObserverNodeProtector(QPropertyObserver *observer)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user