diff options
Diffstat (limited to 'src/corelib/kernel/qproperty.cpp')
-rw-r--r-- | src/corelib/kernel/qproperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp index d165e155fb..3c4a48ed37 100644 --- a/src/corelib/kernel/qproperty.cpp +++ b/src/corelib/kernel/qproperty.cpp @@ -454,7 +454,7 @@ void QPropertyObserverPointer::setBindingToMarkDirty(QPropertyBindingPrivate *bi for QPropertyObserverPointer::notify (described ibidem) */ template <QPropertyObserver::ObserverTag tag> -struct QPropertyObserverNodeProtector { +struct [[nodiscard]] QPropertyObserverNodeProtector { QPropertyObserver m_placeHolder; QPropertyObserver *&m_observer; union { |